Package htmlpage provides tools for working with complete HTML pages, for the Go programming language.
- Go 100%
| go.mod | ||
| go.sum | ||
| LICENSE | ||
| README.md | ||
| transform.go | ||
| wrappinghttphandler.go | ||
go-htmlpage
Package htmlpage provides tools for working with complete HTML pages, for the Go programming language.
Documention
Online documentation, which includes examples, can be found at: http://godoc.org/codeberg.org/reiver/go-htmlpage
Example
Here is an example of using htmlpage.WrappingHTTPHandler:
var handler http.Handler = http.HandlerFunc(serveHTTP)
handler = htmlpage.WrappingHTTPHandler{handler} // <---------
Import
To import package htmlpage use import code like the following:
import "codeberg.org/reiver/go-htmlpage"
Installation
To install package htmlpage do the following:
GOPROXY=direct go get codeberg.org/reiver/go-htmlpage
Author
Package htmlpage was written by Charles Iliya Krempeaux