UUID generator based on https://github.com/sony/sonyflake
err := uuid.Init()
if err != nil {
// error handling
}
id, err := uuid.Generate()
if err != nil {
// error handling
}
fmt.Println(id)
UUID generator based on https://github.com/sony/sonyflake
err := uuid.Init()
if err != nil {
// error handling
}
id, err := uuid.Generate()
if err != nil {
// error handling
}
fmt.Println(id)