identx

package
v0.0.0-...-4675295 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: Apache-2.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenOne

func GenOne() string

GenOne [tag] 用于标识字符串的用途

func GenTimeCount

func GenTimeCount() int64

func SetNode

func SetNode(val string)

Types

type IdentInt

type IdentInt struct {
	// contains filtered or unexported fields
}

func NewIdentInt

func NewIdentInt() (obj *IdentInt)

func (*IdentInt) GenOne

func (ii *IdentInt) GenOne() int64

type IdentString

type IdentString struct {
	// contains filtered or unexported fields
}

func NewIdentString

func NewIdentString() (obj *IdentString)

func (*IdentString) GenOne

func (is *IdentString) GenOne() string

func (*IdentString) GenOneWithIntPrefix

func (is *IdentString) GenOneWithIntPrefix(prefix int) string

prefix必须小于scaleN

func (*IdentString) GenOneWithStringPrefix

func (is *IdentString) GenOneWithStringPrefix(prefix string) string

prefix只能是一个字符

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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