21 lines
481 B
Go
21 lines
481 B
Go
/*
|
|
* Copyright 2026 Oleg Borodin <onborodin@gmail.com>
|
|
*
|
|
* This work is published and licensed under a Creative Commons
|
|
* Attribution-NonCommercial-NoDerivatives 4.0 International License.
|
|
*
|
|
* Distribution of this work is permitted, but commercial use and
|
|
* modifications are strictly prohibited.
|
|
*/
|
|
package auxuuid
|
|
|
|
import (
|
|
"github.com/google/uuid"
|
|
)
|
|
|
|
const ZeroUUID string = "00000000-0000-0000-0000-000000000000"
|
|
|
|
func NewUUID() string {
|
|
return uuid.New().String()
|
|
}
|