Branded, strongly-typed identifiers for Go. Phantom types prevent mixing entity IDs at compile time. Zero-allocation, stdlib-only, with full serialization (JSON, SQL, Text, Binary, Gob).
go golang serialization json sql generics type-safe type-safety compile-time strongly-typed phantom-types identifier go-library zero-allocation branded-types jsonv2
-
Updated
Jul 15, 2026 - Go