Files
2025-12-15 22:28:01 +03:00

14 lines
171 B
Go

package domain
import "github.com/google/uuid"
type ID = uuid.UUID
func NewID() ID {
return uuid.New()
}
func ParseID(s string) (ID, error) {
return uuid.Parse(s)
}