s1llyw0rdz/web/handler/index_show.go
2021-11-22 10:06:23 +01:00

22 lines
393 B
Go

package handler
import (
"net/http"
)
type Update struct {
UpdatedAgo string
Author string
}
func (h *Handler) showIndexView(w http.ResponseWriter, r *http.Request) {
// user, _ := h.sess.Get(r)
//h.renderLayout(w, "index", map[string]interface{}{
// "Pages": pages,
// "Files": files,
// "News": news,
//}, user)
h.renderLayout(w, "index", map[string]interface{}{}, "")
}