package
0.0.5
Repository: https://github.com/cjphaha/wxapi.git
Documentation: pkg.go.dev

# Functions

gin框架中将请求信息转化为string,适用于c.bind()获取不到结构体的情况.
保留浮点数至两位.
float32 转 String工具类,保留6位小数.
用snowflake生成一个随机id 参数是标识机器的作用,如果在分布式系统中使用此函数,需要设置标识符.
获取随机的字符串(数字+字母组合).
NewNode returns a new snowflake worker that can be used to generate snowflake IDs.
返回数据的类型.

# Structs

A Snowflake struct holds the basic information needed for a snowflake generator worker.