package
0.0.0-20201014153940-b603efd1be2d
Repository: https://github.com/jibe0123/wikimvc.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
*
*
* Display a page in a browser
*
*/.
# Structs
*
*
* Render struct is all data needed to display a page
*
* ParseFiles is all templates (/web folder) needed to display page
* > Should contain web/base.tmpl file
* > Put at index 0 of array page that overrides web/base.tmpl like web/articles.tmpls
* > Example : parseFiles := []string{"web/articles.tmpl", "web/base.tmpl"}
* Writer is the response of http request
* Data is dynamic data to pass to template like articles ..