package
2.0.1+incompatible
Repository: https://github.com/wangyixiang/gopub.git
Documentation: pkg.go.dev
# Functions
ColorLog prints colored log to stdout.
ColorLogS colors log and return colored content.
ExecCmd executes system command and return stdout, stderr in string type, along with possible error.
ExecCmdBytes executes system command and return stdout, stderr in bytes type, along with possible error.
ExecCmdDir executes system command in given directory and return stdout, stderr in string type, along with possible error.
ExecCmdDirBytes executes system command in given directory and return stdout, stderr in bytes type, along with possible error.
No description provided by the author
No description provided by the author
No description provided by the author
生成md5.
No description provided by the author
No description provided by the author
换行符换成<br />.
No description provided by the author
No description provided by the author
版本对比 v1比v2大返回1,小于返回-1,等于返回0.