Registry / web-framework / gofiber-template

gofiber-template

JSON →
library1.8.3gogounverified

Package template provides template rendering support for the Fiber web framework.

go get github.com/gofiber/template
INSTALL
IMPORT
SIG · GOFIBER-TEMPLATE
G
gofiber-template
web-frameworkgov1.8.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

template
github.com/gofiber/template

Minimal Fiber app using the HTML template engine from gofiber/template.

package main import ( "github.com/gofiber/fiber/v2" "github.com/gofiber/template/html" ) func main() { engine := html.New("./views", ".html") app := fiber.New(fiber.Config{ Views: engine, }) app.Get("/", func(c *fiber.Ctx) error { return c.Render("index", fiber.Map{ "Title": "Hello, World!", }) }) app.Listen(":3000") }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.8.3latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
gofiber-template — go get gofiber-template · libregistry