package
0.0.0-20200424072721-89edfd8bb689
Repository: https://github.com/robjporter/go-library.git
Documentation: pkg.go.dev
# Functions
Site will generate a sitemap for the given URL.
# Constants
AssetTypeImage is used for <image> assets.
AssetTypeLink is used for <link> assets.
AssetTypeScript is used for <script> assets.
# Variables
ErrHTTPError is given when the URL provided results in a HTTP error code or could not be reached.
ErrParseError is given when a page gave a HTML response that could not be parsed.
ErrURLInvalid is given when the URL provided to the 'Site' method is empty or invalid.