swissuuid

package
v0.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	UUIDCmd = &cobra.Command{
		Use:   "uuid",
		Short: "Use uuid tool",
	}
)

Functions

This section is empty.

Types

type UUIDCLI

type UUIDCLI struct {
	Version  int         `validate:"required,gte=0,lte=5"`
	Domain   uuid.Domain `validate:"required_if=version 2,oneof=0 1 2"`
	Name     []byte      `validate:"omitempty"`
	Number   int64       `validate:"required,number"`
	Separate string      `validate:"omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL