reg

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenId

func GenId(tag string) string

* * Id * @params tag string * @return string *

func GenIndex

func GenIndex() int64

* * GenIndex * @return int64 *

func GenKey added in v0.1.1

func GenKey(args ...interface{}) string

* * GenKey * @params args ...interface{} * @return string *

func GenSnowflake added in v0.1.8

func GenSnowflake() string

* * GenSnowflake * @return string *

func GenUlId added in v0.1.10

func GenUlId(tag string) string

* * GenUlId * @params tag string * @return string *

func GenXid added in v0.1.10

func GenXid(tag string) string

* * GenXid * @params tag string * @return string *

func GetId

func GetId(tag, id string) string

* * GetId * @params tag, id string * @return string *

func ULID added in v0.1.8

func ULID() string

* * ULID * @return string *

func UUID added in v0.1.8

func UUID() string

* * UUID * @return string *

func XID added in v0.1.8

func XID() string

* * XID * @return string *

Types

This section is empty.

Jump to

Keyboard shortcuts

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