package
0.0.9
Repository: https://github.com/benoitkugler/webrender.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

Transform (only) ASCII letters to lower case: A-Z is mapped to a-z.
Fetch an external resource such as an image or stylesheet.
Return whether the given element has a `rel` attribute with the given link type (must be a lower-case string).
FetchSource fetch the html input, and returns it with the normalized “BaseUrl“ (checkCssMimeType=false).
Return the base URL for the document.
FloatModulo implements Python modulo for float numbers, like 4.456 % 3.
No description provided by the author
Relevant specs: http://www.whatwg.org/html#the-title-element http://www.whatwg.org/html#standard-metadata-names http://wiki.whatwg.org/wiki/MetaExtensions http://microformats.org/wiki/existing-rel-values#HTML5LinkExtensionsT.
Return ('external', absolute_uri) or ('internal', unquoted_fragment_id) or false.
Hash creates an ID from a string.
Hypot returns SQRT(a^2 + b^2).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewHtmlIterator use `root` as start point.
No description provided by the author
Return a file URL for the given `file` path.
Round rounds f with 6 digits precision.
RoundPrec rounds f with n digits precision.
defaut: allowRelative = false.
No description provided by the author
warn if baseUrl is required but missing.

# Constants

No description provided by the author

# Variables

No description provided by the author
Used for "User-Agent" in HTTP.
YYYY (eg 1997) YYYY-MM (eg 1997-07) YYYY-MM-DD (eg 1997-07-16) YYYY-MM-DDThh:mmTZD (eg 1997-07-16T19:20+01:00) YYYY-MM-DDThh:mm:ssTZD (eg 1997-07-16T19:20:30+01:00) YYYY-MM-DDThh:mm:ss.sTZD (eg 1997-07-16T19:20:30.45+01:00).

# Structs

No description provided by the author
Meta-information belonging to a whole `Document`.
No description provided by the author
HTMLIterator simplify the (depth first) walk on an HTML tree.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Url represent an url which can be either internal or external.

# Interfaces

No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author