package
0.3.2
Repository: https://github.com/olblak/updatecli.git
Documentation: pkg.go.dev

# Functions

Diff return a diff like string, comparing string A and string B.
HasPrefix test if a filename uses a prefix.
IsURL tests if a string is a valid http URL.
Read read file from a location then return an array of byte.
ReadFromFile read a file then return its data as an array of byte.
ReadFromURL read a file form a http/https url then return its data as an array of byte.
Show return a string where each line start with a tabulation to increase visibility.
WriteToFile write a string to a file.

# Constants

ErrLineNotFound is the error message when no matching line found.

# Structs

File defines the resource file that can be configured from an updatecli configuration.
Line hold rule that define if a specific line should be included or excluded.