Example #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)
}
func PSHBHandler(w http.ResponseWriter, req *http.Request) {
	conf := utils.GetData()
	views.RenderSubscription(w, views.AdminPage, conf)
}