go-rest-api icon indicating copy to clipboard operation
go-rest-api copied to clipboard

About using UUID v.4 instead v.1

Open kolkov opened this issue 4 years ago • 0 comments

I think not a good solution to use UUID v.4, instead v.1. What do you think about this? And what type is better golang string mysql char(36) or golang uuid.UUID mysql binary(16)? And how to store it in MySQL properly by ozzo-dbx? Can we store uuid.UUID to binary(16) directly? Thanks!

https://mysqlserverteam.com/mysql-8-0-uuid-support/

https://stackoverflow.com/questions/28251144/inserting-and-selecting-uuids-as-binary16

kolkov avatar Feb 23 '20 20:02 kolkov