Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // JoinPath is a utility variable that points to filepath.Join for constructing file paths in a platform-independent way. JoinPath = filepath.Join // WriteFile is a variable that points to os.WriteFile, used for writing data to a file, creating it if it doesn't exist. WriteFile = os.WriteFile // MkdirAll is a variable that points to os.MkdirAll, used for creating directories along with any necessary parents. MkdirAll = os.MkdirAll )
Functions ¶
func CreateFile ¶
func CreateFile( path string, content string, entries ...ReplaceEntry, )
Types ¶
type ReplaceEntry ¶
func Replacement ¶
func Replacement(key string, value string) ReplaceEntry
Click to show internal directories.
Click to hide internal directories.