Ejemplo n.º 1
0
func New(w http.ResponseWriter, req *http.Request) {
	Data := utils.GetData()
	var DataMap = make(map[string]interface{})
	DataMap["data"] = Data
	views.Subscription(w, views.NewPage, views.PartialTemp, DataMap)
}
Ejemplo n.º 2
0
func PSHBHandler(w http.ResponseWriter, req *http.Request) {
	conf := utils.GetData()
	views.RenderSubscription(w, views.AdminPage, conf)
}