//
pkg.gl
Category
github.com/opengoats/goat
path
package
1.1.2
Repository:
https://github.com/opengoats/goat.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
3
Dependents
1
Files
89 SLOC
#
Functions
InitPaths
InitPaths sets the default paths in the configuration based on CLI flags, configuration file and default values.
New
New creates a new Paths object with all values set to empty values.
Resolve
Resolve resolves a path to a location in one of the default folders.
#
Constants
Config
Config 配置文件目录.
Data
Data 数据目录.
Home
Home 家目录.
Logs
Logs 日志目录.
#
Variables
Paths
Paths is the Path singleton on which the top level functions from this package operate.
#
Structs
Path
Path 位置路径目录.
#
Type aliases
FileType
FileType is an enumeration type representing the file types.