package
Version:
v1.0.56
Opens a new window with list of versions in this module.
Published: Nov 13, 2021
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package u64 是 uint64类库.
函数: Byte2, Uint64.
对象: U64.
NewID 新建ID.
num 4位 16个.
起始日期 2021-10-31 日.
合计53位,js中使用不会出错.
package main
import (
"fmt"
"gitee.com/xuender/oils/u64"
)
func main() {
fmt.Println(u64.NewID(3))
id := u64.ID()
fmt.Println(id)
fmt.Println(u64.DecodeID(id))
}
Output:
Source Files
¶
Click to show internal directories.
Click to hide internal directories.