Versions in this module Expand all Collapse all v1 v1.0.9 Jan 22, 2024 Changes in this version + func SecureInput(input string) string + func ValidateIfDirExists(input string) error + func ValidateIfNotEmpty(input string) error + func ValidateIfPathExists(input string) error + func ValidateInt(input string) (int, error) + func ValidateWithOptions(value string, options ...string) error + type FileDownloader interface + Get func(destination, source string) error + GetRemoteContents func(source string) ([]byte, error) + ReadLocalFile func(path string) ([]byte, error) + type FileProvider struct + func NewFileProvider(filedownloader FileDownloader) FileProvider + func (fileProvider FileProvider) Contents(srcPath string) ([]byte, error) + func (fileProvider FileProvider) LocalPath(path string) (string, error)