Documentation ¶
Index ¶
- func DownloadURL(ctx context.Context, url string) ([]byte, error)
- func GetFiles(paths []string, recursive bool, filter string) ([]string, error)
- func IsValidURL(toTest string) bool
- func MatchFile(pattern string, file string) bool
- func WriteMap(b *bytes.Buffer, m map[string]interface{}, f Format) error
- type Format
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadURL ¶
DownloadURL downloads a file
func IsValidURL ¶
IsValidURL tests a string to determine if it is a well-structured url or not.
Types ¶
Click to show internal directories.
Click to hide internal directories.