go-template VS gomplate

Compare go-template vs gomplate and see what are their differences.

go-template

☄️ Powerful template for Go CLI projects with advanced config management (by metafates)

gomplate

A flexible commandline tool for template rendering. Supports lots of local and remote datasources. (by hairyhenderson)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
go-template gomplate
1 3
19 2,465
- -
2.6 9.0
12 months ago 4 days ago
Go Go
- MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

go-template

Posts with mentions or reviews of go-template. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-10-05.

gomplate

Posts with mentions or reviews of gomplate. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-04-27.
  • Show HN: gq – like jq or zq, but you use Go
    6 projects | news.ycombinator.com | 27 Apr 2022
    this tool may interest the same audience: https://github.com/hairyhenderson/gomplate

    I find it especially handy for poc-ing helm snippets, although regrettably they don't have the same "standard library" of functions

  • Building Rich CLI Applications with Go's Built-in Templating
    2 projects | /r/golang | 9 Mar 2022
    I'm surprised nobody mentioned https://gomplate.ca/ yet. It's a great CLI tool built on top of Go's built-in templating with many features, including one template to many outputs using a separate data source. See this blog post from the author: https://blog.hairyhenderson.ca/post/one\_template\_many\_outputs/
  • Show HN: Stamp turns a folder into a plain text file and a file into a folder
    8 projects | news.ycombinator.com | 7 Feb 2021
    Cookiecutter is nice but it requires an entire python install to run, which is a big thing to ask for some of the scenarios mentioned by the tool creator (like someone going through a simple learning tutorial which might not even be using python at all).

    IMHO gomplate is a nicer alternative that's just a single static go-based tool that can do everything cookiecutter does and a lot more: https://github.com/hairyhenderson/gomplate

What are some alternatives?

When comparing go-template and gomplate you can also consider the following projects:

coloredcobra - ColoredСobra is a library that allows to colorize the text output of the Cobra library

go-rosbag - Rosbag parser written in pure Go

remco - remco is a lightweight configuration management tool

sqlTemplate - Template engine for writing dynamic SQL queries

motllo - Project templates without needing a repository

renderizer - CLI to render Go template text files based on command line parameters and/or a YAML

gotemplate - A small highly opinionated Go template.

golang-kv - Bundle embedded DB (badger & boltdb & leveldb & pebble & nutsdb) wrapper with fixed & simple api of pure Golang

hashi-up - bootstrap HashiCorp Consul, Nomad, or Vault over SSH < 1 minute

nginx-wrapper - NGINX Event Process Wrapper

medusa - A cli tool for importing and exporting Hashicorp Vault secrets

nasty-files - Some files with nasty names