Categorygithub.com/derat/validate
modulepackage
0.0.0-20230417204121-60da9a4caa70
Repository: https://github.com/derat/validate.git
Documentation: pkg.go.dev

# README

# Packages

No description provided by the author

# Functions

AMP reads an AMP HTML document from r and validates it by running the amphtml-validator program, which must be present in $PATH.
AMPFiles runs amphtml-validator to validate multiple AMP HTML files at the supplied paths.
CSS reads an HTML or CSS document from r and validates its CSS content using https://jigsaw.w3.org/css-validator/.
HTML reads an HTML document from r and validates it using https://validator.w3.org/nu/.
LaunchBrowser launches a web browser with the supplied HTML page.

# Constants

Error indicates an actual problem, e.g.
HTMLDoc is an HTML document.
Stylesheet is a standalone CSS stylesheet.
Warning indicates a minor issue, e.g.

# Structs

Issue describes a problem reported by a validator.

# Type aliases

FileType describes the type of file being validated.
Severity describes the severity of an issue.