Registry / web-framework / foolin-goview

foolin-goview

JSON →
library0.3.0gogounverified

A lightweight, minimalist and idiomatic template library based on Go's html/template for building web applications.

go get github.com/foolin/goview
INSTALL
IMPORT
SIG · FOOLIN-GOVIEW
F
foolin-goview
web-frameworkgov0.3.0
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.

goview
✓ github.com/foolin/goview

Render a template with data

package main import ( "net/http" "github.com/foolin/goview" ) func main() { http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { goview.Render(w, http.StatusOK, "index", goview.M{"title": "Hello"}) }) http.ListenAndServe(":8080", nil) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
foolin-goview — go get foolin-goview · libregistry