Documentation ¶
Index ¶
Constants ¶
View Source
const DEV = true
View Source
const TEMPLATE_DIR = "./templates"
Variables ¶
This section is empty.
Functions ¶
func LoadHtml ¶
func LoadHtml(w http.ResponseWriter, path string, locals map[string]interface{})
模板加载
func PublicHandler ¶
func PublicHandler(w http.ResponseWriter, r *http.Request)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.