package handlers import ( "fiber-sessions/app/router/requests" "fiber-sessions/app/templates" ) func ProtectedPage(request *requests.Request) error { pc := templates.PageContext{ Title: "Protected page", ActivePage: "protected-page", } Render(request.Ctx, templates.ProtectedPage(request, pc)) return nil }