You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package tmpl
|
|
|
|
import (
|
|
"net/http"
|
|
)
|
|
type ViewHtml struct{
|
|
CommonHtml
|
|
Fid string
|
|
Id uint32
|
|
}
|
|
func RenderView(w http.ResponseWriter, data interface{}) {
|
|
render:=NewRender(w)
|
|
data.(*ViewHtml).Nav=render.Nav
|
|
data.(*ViewHtml).Header=render.Header
|
|
render.Display("view",data)
|
|
}
|