Implementation of UUID and binary(16) in gorm v2.
Using Customized Data Types
Published in
4 min readNov 27, 2020
Hello Developers 👋. In this article, I will demonstrate how we can make use of UUID and Binary(16) datatype in gorm v2 and golang.
What is UUID?
A UUID is just a 128-bit value and it is usually represented in human-readable format as an UTF8 string composed of 5 groups of…