Go Template

Open-source Go projects categorized as Template

Top 23 Go Template Projects

  • gf

    GoFrame is a modular, powerful, high-performance and enterprise-class application development framework of Golang. (by gogf)

  • go-clean-template

    Clean Architecture template for Golang services

    Project mention: Any Working Example for Swagger integartion with golang? | /r/golang | 2023-03-16

    Check this file https://github.com/evrone/go-clean-template/blob/master/internal/controller/http/v1/router.go

  • WorkOS

    The modern API for authentication & user identity. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • sprig

    Useful template functions for Go templates.

    Project mention: Templ: A language for writing HTML user interfaces in Go | news.ycombinator.com | 2023-12-10

    Standard Go templating seems really lacking if you come from something like Jinja. Even with libraries like https://masterminds.github.io/sprig/ (used e.g. for Helm templating) it feels hard to use.

  • hermes

    Golang package that generates clean, responsive HTML e-mails for sending transactional mail (by matcornic)

  • gomplate

    A flexible commandline tool for template rendering. Supports lots of local and remote datasources.

  • boilr

    :zap: boilerplate template manager that generates files or directories from template repositories

  • fasttemplate

    Simple and fast template engine for Go

    Project mention: fasttemplate VS Salix - a user suggested alternative | libhunt.com/r/fasttemplate | 2023-10-31
  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • scriggo

    The world’s most powerful template engine and Go embeddable interpreter

  • goview

    Goview is a lightweight, minimalist and idiomatic template library based on golang html/template for building Go web application.

    Project mention: goview VS Salix - a user suggested alternative | libhunt.com/r/goview | 2023-10-31
  • Jade

    Jade.go - pug template engine for Go (golang)

  • remco

    remco is a lightweight configuration management tool

  • template

    🧬 Template engine middleware for Fiber (by gofiber)

  • Orbit

    :satellite: A cross-platform task runner for executing commands and generating files from templates (by gulien)

  • fir

    Build progressively enhanced reactive html apps (by livefir)

    Project mention: Building a reactive web app in Go with Fir | dev.to | 2023-09-27

    Fir is an open source project, so if you are interested in contributing you can head over to their GitHub repository. You can also open an issue there if you encounter any problems you can’t solve on your own.

  • dnjs

    DOM Notation JS

  • htmlgo

    A library for writing type-safe HTML in Golang

    Project mention: Templ: A language for writing HTML user interfaces in Go | news.ycombinator.com | 2023-12-10

    Here are a couple:

    https://github.com/julvo/htmlgo

    https://github.com/rohanthewiz/element

    I'm sure there are many more.

    The thing about these is that performance is often not as good as when using templates, especially when the templates are compiled to native code. Quicktemplate [1] is still the leader here IMO, and I don't think the OP project brings much that couldn't be done pretty easily with QT.

    [1] https://github.com/valyala/quicktemplate

  • jr

    JR: streaming quality random data from the command line (by ugol)

    Project mention: JR, quality Random Data from the Command line, part II | dev.to | 2023-06-01

    We have seen how to use JR in more advanced use cases, streaming quality random data with referential integrity. In the next part of this series, we will see how to use REST apis with JR. In the meanwhile, happy streaming!

  • gonja

    Jinja-like syntax template-engine for Go

    Project mention: 6 🔥 Awesome Golang packages (web devs) | dev.to | 2023-12-04

    If you prefer Jinja templates, there's a fork of pongo2 here: Goja, doesn't seem actively maintained but I used it recently and it works pretty well.

  • gosane

    A sane and simple Go REST API template.

  • base16-universal-manager

    A universal manager to set base16 themes for any supported application

    Project mention: Suggestion for neovim color scheme. | /r/neovim | 2023-05-17

    I just found Nightfox and switched over to it. I liked it so much I contributed a base16 template and use it with base16-shell.

  • fiber-boilerplate

    Simple and scalable boilerplate to build powerful and organized REST projects with Fiber. (by efectn)

  • blocks

    Go-idiomatic View Engine (by kataras)

  • easygen

    Easy to use universal code/text generator

  • Onboard AI

    ChatGPT with full context of any GitHub repo. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at app.getonboardai.com.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-12-10.

Go Template related posts

Index

What are some of the best open-source Template projects in Go? This list will help you:

Project Stars
1 gf 10,565
2 go-clean-template 5,787
3 sprig 3,897
4 hermes 2,737
5 gomplate 2,398
6 boilr 1,683
7 fasttemplate 792
8 scriggo 399
9 goview 396
10 Jade 342
11 remco 306
12 template 241
13 Orbit 177
14 fir 168
15 dnjs 129
16 htmlgo 115
17 jr 109
18 gonja 95
19 gosane 82
20 base16-universal-manager 81
21 fiber-boilerplate 72
22 blocks 69
23 easygen 61
ChatGPT with full context of any GitHub repo.
Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at app.getonboardai.com.
app.getonboardai.com