package
0.0.0-20241201094805-563361f33b93
Repository: https://github.com/ted-bug/open-api.git
Documentation: pkg.go.dev

# Functions

获取项目根路径:exec为执行文件所在的路径;runPath为依据此段代码所在文件的相对路径推算出的项目根路径。 1.go build:execPath = 项目根路径;runPath会依据步骤2变为execPath的父父...目录; 2.go run: execPath = 临时目录;runPath = 项目路径.
No description provided by the author

# Variables

配置文件路径.
No description provided by the author
日志路径,未使用,以config为主.
定义使用到的常量.
静态文件路径.
模板文件路径.