adt

package
v0.0.26 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var StringTable = []string{
	"0", "1", "2", "3", "4", "5", "6", "7", "8", "9",
	"a", "b", "c", "d", "e", "f", "g", "h", "i",
	"j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z",
	"A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"}

Functions

func InArray

func InArray[T comparable](value T, array []T) bool

判断该字符串是否在数组中

func IsSameArray

func IsSameArray[T comparable](array1 []T, array2 []T) bool

判断两个字符串数组是否相等 长度相同 内容相同 不要求内容相同

func RandomStringName

func RandomStringName(length int) (StringName string)

base64是有 10 + 26 +26 = 62个字符组成的

func TimerStart

func TimerStart() *timer

func Timestamp

func Timestamp() string

func UnixTime

func UnixTime() int64

Types

This section is empty.

Jump to

Keyboard shortcuts

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