alice
Plush
Our great sponsors
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
alice
-
Recommended http helper libraries
May I suggest using this httprouter for router and this for middleware Alice
-
Crafting Middlewares In Go
Alice is a go library that can be used to chain mulitple middleware functions and application handler together.
-
Web Development in Go: Middleware, Templating, Databases & Beyond
You can use a library like Alice to transform the above construct to a more readable form such as:
Plush
-
Plush VS Salix - a user suggested alternative
2 projects | 31 Oct 2023
-
Salix alternatives - pongo2 and Plush
3 projects | 31 Oct 2023
-
Getting Started with Buffalo
The web UI we see is generated from testr/templates/home/index.plush.html using the plush templating engine. Also to be covered in a separate post.
-
Writing a code generator in Go
I am definitely no expert in Handlebars, but everything you asked is absolutely available in the default templates. There are also other template engine implementations, for example Plush or Fast Template.
-
Web Development in Go: Middleware, Templating, Databases & Beyond
If you're not a fan of how Go does its templating, alternatives exist, such as the Plush library.
What are some alternatives?
negroni - Idiomatic HTTP Middleware for Golang
Jet Template Engine for GO - Jet template engine
chi - lightweight, idiomatic and composable router for building Go HTTP services
hero - A handy, fast and powerful go template engine.
interpose - Minimalist net/http middleware for golang
mustache - The mustache template language in Go
httprouter - A high performance HTTP request router that scales well
ego - An ERB-style templating language for Go.
Iris - The fastest HTTP/2 Go Web Framework. New, modern and easy to learn. Fast development with Code you control. Unbeatable cost-performance ratio :rocket:
goview - Goview is a lightweight, minimalist and idiomatic template library based on golang html/template for building Go web application.
golax - Golax, a go implementation for the Lax framework.
sprig - Useful template functions for Go templates.