Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

guid

goproxy.cn Release License: MIT Example

参数

Salt     string  #必须设置
Length   int     #如果在8位,加随机数到不了1亿,建议必须大于等于10
Alphabet string  #hashid默认的字母表

使用方法

g := guid.Load("guid").Build()
g.EncodeRandomInt64(45) // 使用这种比较安全,因为有随机数

About

eguid,ego

Resources

Contributing

Stars

1 star

Watchers

1 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages