utils

package
v0.4.22 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dump

func Dump(vs ...interface{})

func GetBrackets

func GetBrackets(str string, start, end int32) (int, int)

func GetFiles

func GetFiles(dirPath string) ([]string, error)

GetFiles 获取目录下所有文件

func IsExist

func IsExist(f string) bool

IsExist checks whether a file or directory exists. It returns false when the file or directory does not exist.

func SetEnv

func SetEnv(fileContext []byte) []byte

SetEnv 对字符串内容进行替换环境变量

Types

This section is empty.

Jump to

Keyboard shortcuts

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