
Using UUID in Go with MySQL & Postgres Examples
A UUID is 128 bits long identifier and is intended to guarantee uniqueness across space and time. The format is described in RFC 9562. The most common versions are: UUIDv4 - which are generated in random or pseudorandom order UUIDv7 - which are are ordered by time generated In Go there is a library google/uuid which generates the numbers according to RFC specification. MySQL with UUIDv4 In MySQL, you can store UUID as BINARY(16)....