package
0.0.3
Repository: https://github.com/cpyun/cpyun-admin-core.git
Documentation: pkg.go.dev

# Packages

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

# Functions

Assert 条件断言 当断言条件为 假 时触发 panic 对于当前请求不会再执行接下来的代码,并且返回指定格式的错误信息和错误码.
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
No description provided by the author
GenerateMsgIDFromContext 生成msgID.
GenerateRandomKey 生成随机字符串.
获取当前路径,比如:E:/abc/data/test.
No description provided by the author
No description provided by the author
获取文件大小.
获取局域网ip地址.
获取外网ip地址.
GetOrm 获取orm连接.
No description provided by the author
HasError 错误断言 当 error 不为 nil 时触发 panic 对于当前请求不会再执行接下来的代码,并且返回指定格式的错误信息和错误码 若 msg 为空,则默认为 error 中的内容.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PathExist 判断目录是否存在.
No description provided by the author
No description provided by the author
No description provided by the author
SetPassword 根据明文密码和加盐值生成密码.
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
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
No description provided by the author
No description provided by the author

# Structs

No description provided by the author