I agree UUID is vague but supplying "default" UUID generator on the standard package is significant. If you'd like to use advanced ID generator, like snowflake, you can use that package. The problem is there is no stable and de facto standard package of it.
2018年2月9日金曜日 3時17分38秒 UTC+9 Tamás Gulácsi: > > Because UUID is both vague (what format should it be stored? With- or > without dashes? Where to split?) and over-engineered (host's mac address in > the UUID? or use the full-random v4 ?). > For example I use github.com/oklog/ulid - shorter and time-sortable > alternative. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.