Documentation
¶
Index ¶
- func AppEndToFile(destFileDir string, data string)
- func AppendArrayEndToFile(destFileDir string, datas []string)
- func ChangeFile(templateName string, MapForReplace map[string]string)
- func Copy(srcFileDir string, destFileDir string)
- func CreateDirAll(dir string)
- func CreateFile(finalPath string, data string)
- func CreateFolder(dir string)
- func IsFileExist(dir string) (bool, error)
- func NewFileforTemplate(newName string, templateName string, MapForReplace map[string]string)
- func ReadAndCopy(srcFileDir string, destFileDir string)
- func ReadFile(templateName string) string
- func ReplaceTextInFile(templateName string, MapForReplace map[string]string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppEndToFile ¶
append string to end of the file
func AppendArrayEndToFile ¶
add many new lines
func ChangeFile ¶
modify a file looking for something
func CreateDirAll ¶
func CreateDirAll(dir string)
func NewFileforTemplate ¶
Create a new file starting from a template and an array of options to replace
func ReadAndCopy ¶
read file and copy to other file
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.