remco
gomplate
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.
remco
-
How to achieve interactive communication between a Go app and an exec'ed app via stdin/stdout?
I've also searched GitHub for working examples of similar solutions. Here is one, which I believe to have come across on StackOverflow https://github.com/HeavyHorst/remco/blob/89b372b597e621cf0934ffbb313d7abe9e96fc26/pkg/template/executor.go
gomplate
-
Show HN: gq – like jq or zq, but you use Go
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
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
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?
stolon - PostgreSQL cloud native High Availability and more.
go-rosbag - Rosbag parser written in pure Go
GoBot2 - Second Version of The GoBot Botnet, But more advanced.
sqlTemplate - Template engine for writing dynamic SQL queries
traefik - The Cloud Native Application Proxy
motllo - Project templates without needing a repository
ephemerald - Ephemeral docker-based server instances for (parallel) testing
renderizer - CLI to render Go template text files based on command line parameters and/or a YAML
go-web-crontab - A crontab-like executor with a web front-end
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