Documentation ¶
Index ¶
- func Contains(a []string, x string) bool
- func CopyFile(src, dst string) error
- func CopyFileTo(source, destinationDir string) (err error)
- func CopyFileToGlob(glob, dest string) error
- func Deref[T any](p *T) T
- func MoveFile(source, destination string) (err error)
- func PrintStructInfo(label string, instance interface{})
- func PrintTable(header []string, data [][]string)
- func Ptr[T any](a T) *T
- func RemoveFileGlob(glob string) error
- func Sanitize(input string) *string
- func StrDeref(s *string) string
- func YAMLUnmarshalStrict(y []byte, v interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyFileTo ¶
CopyFileTo copies a file from a source to destination directory
func CopyFileToGlob ¶
CopyFileToGlob copies files by glob to a destination
func PrintStructInfo ¶
func PrintStructInfo(label string, instance interface{})
PrintStructInfo prints a configuration struct values
func PrintTable ¶
PrintTable prints a table of data
func YAMLUnmarshalStrict ¶
YAMLUnmarshalStrict unmarshals a YAML file into a struct
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.