view

package
v0.0.0-...-c84c7a3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GOPATH = os.Getenv("GOPATH")
View Source
var Templates = template.Must(template.ParseFiles(
	"web/static/login.html",
	"web/static/ucp.html",
	"web/static/error.html",
	"web/static/season_table.html",
))

Functions

func ErrorPage

func ErrorPage(w http.ResponseWriter, errorMsg string, code int)

func Render

func Render(writer http.ResponseWriter, s string, page interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL