Documentation
¶
Index ¶
- func Copy(src, dst string) (byteCount int64, err error)
- func Generate(sourceTemplatePath, destinationPath string, replacementMap map[string]string) (err error)
- func ListDir(dirPath string) (fileNames []string, err error)
- func ReadLines(fileName string) (lines []string, err error)
- func ReadText(fileName string) (text string, err error)
- func ReadYaml(fileName string) (node *yaml.Node, err error)
- func WriteLines(fileName string, lines []string, fileMode os.FileMode) (err error)
- func WriteText(fileName string, text string, fileMode os.FileMode) (err error)
- func WriteYaml(fileName string, node *yaml.Node, fileMode os.FileMode, ...) (err error)
- func YamlAddLineBreakForTwoSpaceIndented(yamlLines []string) (newYamlLines []string)
- func YamlFixEmoji(yamlLines []string) (newYamlLines []string)
- func YamlTwoSpace(yamlLines []string) (newYamlLines []string)
- type YamlLinesPreprocessors
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteLines ¶
func WriteYaml ¶ added in v0.8.0
func WriteYaml(fileName string, node *yaml.Node, fileMode os.FileMode, yamlLinesPreprocessors []YamlLinesPreprocessors) (err error)
func YamlAddLineBreakForTwoSpaceIndented ¶ added in v0.8.0
func YamlFixEmoji ¶ added in v0.8.0
func YamlTwoSpace ¶ added in v0.8.0
Types ¶
type YamlLinesPreprocessors ¶ added in v0.8.0
Click to show internal directories.
Click to hide internal directories.