package
0.1.20
Repository: https://github.com/ntfox0001/svrlib.git
Documentation: pkg.go.dev

# Functions

转化一个数组map.
创建目录.
dstPrt必须是分配好内存的结构的指针,src必须是结构,只能拷贝public的成员变量.
这个函数只能用来调试,不可用于正式功能.
获得一个本次运行以来的唯一值.
No description provided by the author
获得一个全局唯一id.
No description provided by the author
将一个map[string]interface{}结构类型转换成struct, struPtr目标对象的指针.
实现一个问号表达式.
No description provided by the author
No description provided by the author
No description provided by the author
获得path路径的值.
No description provided by the author
微信JS分享签名.
No description provided by the author
返回字符Map的bytes.
返回一个字符串map的md5.
map排序.
No description provided by the author
cache指定的对象,对象是否可重用由调用者维护,size是cache大小,如果多了会自动添加,但是不会变小 newfunc用于创建新对象.
阻塞的多线程的先入先出,当空时,pop会阻塞 多线程写入 push,单线程读出 pop size表示通道大小,越大并行能力越好.
队列缓存,先入先出,PushFront压入数据,数据超过len后,抛弃最先压入的数据.
New returns an initialized list.
时间间隔控制器 difference 整体最大时间差,从当前时间到第size个hit的时间不能超过deference秒 每个hit之间的时间最大不能超过intervalMax,最小不能超过intervalMin.
生成一个token.
创建一个可以累进id的类.
No description provided by the author
No description provided by the author
检查文件是否存在.
浮点底数整数指数求幂.
golang 标准库的求幂.
No description provided by the author
产生随机字符串,长度不定.
No description provided by the author
go没有模板,特殊slice只能拷贝一份到自己代码里了.
字符串替换,根据map中的字符替换src中的字符 也可以使用go的,提供一个数组.
No description provided by the author
No description provided by the author
大写首字母.
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
Element is an element of a linked list.
No description provided by the author
No description provided by the author
List represents a doubly linked list.
No description provided by the author
继承这个类,可以得到这个类实例化以来的累进id.
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author