appPath

package
v1.1.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

README

app对应的根目录

配置文件夹[config]对应的目录

不存在时自动创建该目录

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppDir

func AppDir() string

AppDir 返回app当前的绝对目录包含目录符号 调试模式下如果以下未包含,可以修改调试器的输出目录

func ConfigDir

func ConfigDir() string

ConfigDir 返回配置文件所在的目录包含目录符号 配置文件夹为config 从可执行文件目录依次往上查找 不查找分区根目录 为了安全考虑

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL