From 374fa73e53a3e8613f4b68e8d016c74d557d79a1 Mon Sep 17 00:00:00 2001 From: Bobby <30593201+luciferreeves@users.noreply.github.com> Date: Tue, 20 Jan 2026 14:26:45 +0530 Subject: Add shortcuts utility functions for rendering and error handling --- types/template.go | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 types/template.go (limited to 'types') diff --git a/types/template.go b/types/template.go new file mode 100644 index 0000000..11f60f9 --- /dev/null +++ b/types/template.go @@ -0,0 +1,10 @@ +package types + +import "github.com/gofiber/fiber/v2" + +type TemplateError struct { + Context *fiber.Ctx + PageTitle string + ErrorMessage error + StatusCode int +} -- cgit v1.2.3