Bug#1109296: ITP: golang-github-kataras-blocks -- Go-idiomatic View Engine
Package: wnpp
Severity: wishlist
Owner: Leonardo Arias Fonseca <agami@riseup.net>
* Package name : golang-github-kataras-blocks
Version : 0.0.11-1
Upstream Author : Gerasimos (Makis) Maropoulos
* URL : https://github.com/kataras/blocks
* License : Expat
Programming Lang: Go
Description : Go-idiomatic View Engine
Blocks is a, simple, Go-idiomatic view engine based on html/template
(https://pkg.go.dev/html/template?tab=doc#Template), plus the following
features:
.
* Compatible with the fs.FS (https://pkg.go.dev/io/fs#FS), embed.FS
(https://pkg.go.dev/embed#FS) and http.FileSystem (https://pkg.go.
dev/net/http#FileSystem) interface
* Embedded templates through embed.FS (https://pkg.go.dev/embed#FS) or
go-bindata (https://github.com/go-bindata/go-bindata)
* Load with optional context for cancelation
* Reload templates on development stage
* Full Layouts and Blocks support
* Automatic HTML comments removal
* Memory File System
* Markdown Content
* Global FuncMap (https://pkg.go.dev/html/template?tab=doc#FuncMap)
I want to package this library to unblock mev-boost, ITP bug #1107167,
and go-ethereum, ITP bug #890541.
Reply to: