package main
import (
"fmt"
"github.com/google/uuid"
)
func main() {
id := uuid.New()
fmt.Println(id.String())
}
Output
e37d6325-eb5e-44ec-b65d-ca361d3cb032
package main
import (
"fmt"
"github.com/google/uuid"
)
func main() {
id := uuid.New()
fmt.Println(id.String())
}
e37d6325-eb5e-44ec-b65d-ca361d3cb032