Documentation
¶
Index ¶
- func AppendToFile(filename, content string) error
- func CalculateHash(content string) string
- func FileExists(filename string) bool
- func FormatBytes(bytes int) string
- func LoadURLsFromFile(filename string) ([]string, error)
- func SaveDiff(jsURL, oldContent, newContent string) error
- func TruncateString(s string, maxLen int) string
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendToFile ¶
AppendToFile appends content to a file
func CalculateHash ¶
CalculateHash calculates SHA256 hash of content
func FormatBytes ¶
FormatBytes formats bytes to human readable format
func LoadURLsFromFile ¶
LoadURLsFromFile loads URLs from a file
func TruncateString ¶
TruncateString truncates a string to specified length
Types ¶
Click to show internal directories.
Click to hide internal directories.