path

package
v0.1.20 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigPath

func ConfigPath(rootName string, dir ...string) string

配置文件路径:

func CurrentDir

func CurrentDir() (dir string, err error)

当前路径:

func ProjectRoot

func ProjectRoot(projectName string) string

项目根目录:

func RuntimePath

func RuntimePath() (dir string, err error)

获得的是运行时路径, 非项目路径

Types

This section is empty.

Jump to

Keyboard shortcuts

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