Documentation ¶
Overview ¶
功能:命令行参数 说明:
功能:调试相关 说明: 所有debug标志统一在xdebug中设置
功能:goroutine信息 说明:
功能: 说明:
功能:生命周期 说明: 1 输出函数运行时间[单位秒]
功能: 说明:
功能:系统信息 说明: 1 Golang实践录:获取系统信息 https://juejin.cn/post/7104069654733144078
Index ¶
Constants ¶
View Source
const ( FUNC_ENTER = "进入函数" FUNC_EXIT = "退出函数" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CmdParamsBase ¶ added in v0.0.13
type CmdParamsBase struct { Debug bool `short:"d" long:"debug" description:"是否debug"` Log_filename string `short:"l" long:"log_filename" description:"日志文件名"` Config_file string `short:"c" long:"config_file" description:"配置文件"` }
CmdParamsBase 命令行参数
Click to show internal directories.
Click to hide internal directories.