tplgen
Opinionated Go project scaffolding tool.
What it generates
cmd/<name>/main.gowith flag parsing stubinternal/package skeletonMakefilewithbuild,test,lint,releasetargets- GitHub Actions workflow (build + test matrix)
.golangci.ymlwith a sane default rulesetgo.modinitialised with current Go stable
Quick start
tplgen new myapp --module github.com/you/myapp
Overrides
Any generated file can be replaced by dropping a file at the same relative path under ~/.tplgen/overrides/. Templates use Go's text/template with the same variable set.