Documentation ¶
Index ¶
- Variables
- func CheckFileIsExist(filename string) bool
- func CreateFile(filePath string, perm fs.FileMode) bool
- func FileYamlMarshalAndWrite(path string, conf interface{}) bool
- func InterfaceSlice(slice interface{}) []interface{}
- func ReadFile(filePath string) ([]byte, bool)
- func RemoveDuplicate(s []string) []string
- func UpdateFile(filePath string, fileContent []byte, perm fs.FileMode) bool
Constants ¶
This section is empty.
Variables ¶
View Source
var Logger *logrus.Logger
Functions ¶
func CheckFileIsExist ¶
func FileYamlMarshalAndWrite ¶
func InterfaceSlice ¶
func InterfaceSlice(slice interface{}) []interface{}
func RemoveDuplicate ¶ added in v0.3.9
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.