Documentation ¶
Overview ¶
Package lib - contains documentation about Sitemap etc. I didn't want to clutter up the documentation on the structs themselves so I've put them here instead.
Sitemap - Sitemap 0.9 - https://www.sitemaps.org/protocol.html
Additionally see: * https://support.google.com/webmasters/answer/183668#sitemapformat * https://support.google.com/webmasters/answer/183668 * https://support.google.com/webmasters/answer/156184 * https://www.sitemaps.org/index.html * https://en.wikipedia.org/wiki/Sitemaps * https://www.sitemaps.org/protocol.html#xmlTagDefinitions
The individual source files contains the code.
Index ¶
Constants ¶
const ( // From: /usr/local/go/src/os/proc.go // Exit causes the current program to exit with the given status code. // Conventionally, code zero indicates success, non-zero an error. // The program terminates immediately; deferred functions are not run. // // For portability, the status code should be in the range [0, 125]. ExitCodeOK = 0 ExitCodeErr1 = 1 )
Some errors code to indicate exit status.
const ( ColourRed = "\033[91m" ColourGreen = "\033[92m" ColourReset = "\033[0m" ColourBlue = "\033[34m" ColourMagenta = "\033[95m" )
Some colours to make logging statements more obvious.
const (
GoModFileName = "go.mod"
)
Variables ¶
var ErrFailedToFindGoMod = errors.New(`couldn't find "go.mod"`)
Functions ¶
Types ¶
This section is empty.