package
0.8.3
Repository: https://github.com/easonchen147/foundation.git
Documentation: pkg.go.dev

# Functions

CopyCtx 拷贝Context,判断如果是ginCtx则需要拷贝.
CopyGinCtx 复制ginCtx.
FileHash 计算文件hash.
FormatDate 转时间格式 yyyy-MM-dd.
FormatDateTime 转时间格式 yyyy-MM-dd HH:mm:ss.
Get 快速发起get请求.
GetHttpClient 获取http client 实例.
GetNanoId 获取32位的nanoId.
GetUuid 生成uuid.
GetUuidV4 生成uuid v4.
GetWithHeader 快速发起get请求,带headers.
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
ParseDate 转时间格式 yyyy-MM-dd.
ParseDateTime 转时间格式 yyyy-MM-dd HH:mm:ss.
Post
Post 快速发起post请求.
PostWithHeader 快速发起post请求,带headers.
No description provided by the author