Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func AddContentToPage ¶
func AddContentToPage(w http.ResponseWriter, contentTemplate string, data interface{})
AddContentToPage just opens a template, sends whatever data it's given to it, and adds that to a http response writer
func GetRelativePath ¶
GetRelativePath takes a path and gives you the path after the root. there's more algorithm to it than I thought, so i made a helper func
func WrapInBoilerPlate ¶
func WrapInBoilerPlate(w http.ResponseWriter, data string)
this and the next function are bad and I need to re-do how the templating system works in the app.
Types ¶
type TopBarInfo ¶
type TopBarInfo struct {
Name, Link string
}
Click to show internal directories.
Click to hide internal directories.