Documentation ¶
Index ¶
- func CopyFile(srcFile, destFile string) error
- func Filter(rel string, filter []string) bool
- func GetAPIProxyURL() (string, error)
- func GetGoModuleCacheDownloadPath() string
- func GetGoModulePath() string
- func GetGoPath() string
- func MkDirs(path string) error
- func PathExists(path string) bool
- func Unzip(zipFile, dest string) error
- func Zip(fileDir string, zipFile string) error
- func ZipFilter(fileDir string, zipFile string, prefix string, filter []string) error
- func ZipHash(zipFile string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAPIProxyURL ¶ added in v0.9.2
GetAPIProxyURL 获取API代理服务地址
func GetGoModuleCacheDownloadPath ¶
func GetGoModuleCacheDownloadPath() string
GetGoModuleCacheDownloadPath 获取本地Go mod 存储路径
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.