utils

package
v0.0.0-...-79a1996 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileExist

func FileExist(file string) bool

func ScanFile

func ScanFile(filePath, defaultName, envName string) (string, error)

ScanFile 扫描需要加载的文件 filePath需要加载的文件路径, defaultName默认文件名,envName环境变量名 扫描顺序 1.命令行参数 2. 环境变量 3.工作路径 4.当前程序同级目录ddl 5.系统环境变量

Types

This section is empty.

Jump to

Keyboard shortcuts

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