Documentation ¶
Index ¶
- func AddFileToZip(zipWriter *zip.Writer, filename string) error
- func CopyFile(src string, dest string) (int64, error)
- func EnsurePath(path string)
- func Find(slice []string, val string) (int, bool)
- func FindRelatedFiles(path string, replace string) (relatedFiles []string, newFiles []string)
- func GetFieldName(tag, key string, s interface{}) string
- func Map2String(m map[string]string) string
- func Partition(s string, sep string) (string, string, string)
- func RandomString(n int) string
- func ReadFileLines(path string) ([]string, error)
- func RunFrpClient(c string)
- func String2Map(s string) map[string]string
- func TryAlterFile(f1 string, f2 string, rename bool)
- func ZipFiles(filename string, files []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsurePath ¶
func EnsurePath(path string)
func FindRelatedFiles ¶
func GetFieldName ¶
func Map2String ¶
func RandomString ¶
func ReadFileLines ¶
func RunFrpClient ¶ added in v1.6.1
func RunFrpClient(c string)
func String2Map ¶
func TryAlterFile ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.