package
0.0.0-20201203032511-8cfbb6a11097
Repository: https://github.com/lijiansgit/go.git
Documentation: pkg.go.dev
# README
go
golang libs
install
go get -u -v github.com/lijiansgit/go/libs
# Packages
No description provided by the author
No description provided by the author
TODO.
No description provided by the author
No description provided by the author
No description provided by the author
Package log4go provides level-based and highly configurable logging.
No description provided by the author
No description provided by the author
# Functions
No description provided by the author
CopyDir 复制文件夹及其子目录和文件到目标文件下.
CopyFile 复制单个文件.
EmptyDir 清空目录内容.
GetFileList 获取某个目录下的目录列表和文件列表.
GetFileMode 获取文件或者目录的权限.
HTTPDownFile 下载http文件.
No description provided by the author
MD5File 计算文件MD5值.
SendRequest 网宿api接口请求方法 网宿源站接口文档: https://si.chinanetcenter.com/purview/apiDocs/overview.html date := time.Now().Format("Mon, 02 Jan 2006 15:04:05 MST").
UnBzip2 解压文件:tar.bzip2.
UnGzip 解压文件:tar.gz.
UnTar 读取tar io.Reader,并写入目录.