1 2 3 4 5 6 7 8 9 10 11 12 13
// The only purpose of this package is to define the Page interface // that is used by the `http` package package page import ( "io" ) type Page interface { Render(io.Writer) error RebuildIndex() error SetVars(map[string]interface{}) }