Documentation ¶ Index ¶ func Exists(path string) bool func ReadFile(path string) (string, error) func ValidateExists(path string) error func ValidateExtension(path string, allowedExts map[string]string) error func WriteFile(path, content string) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Exists ¶ func Exists(path string) bool func ReadFile ¶ func ReadFile(path string) (string, error) func ValidateExists ¶ func ValidateExists(path string) error ValidateExists ensures the file exists func ValidateExtension ¶ func ValidateExtension(path string, allowedExts map[string]string) error ValidateExtension ensures the file has a supported extension func WriteFile ¶ func WriteFile(path, content string) error Types ¶ This section is empty. Source Files ¶ View all Source files reader.govalidator.gowriter.go Click to show internal directories. Click to hide internal directories.