Skip to content

oliverandrich/gohatch

Repository files navigation

gohatch

CI Release Go Version Go Report Card License

A project scaffolding tool for Go, inspired by gonew with additional features.

  • Clone templates from any Git host or local directories
  • Automatic module path rewriting in go.mod and all .go files
  • Template variable substitution with interactive prompting
  • Post-generation hooks via .gohatch.toml

Installation

brew install oliverandrich/tap/gohatch
go install github.com/oliverandrich/gohatch/cmd/gohatch@latest

Quick Start

gohatch user/go-template github.com/me/myapp

Documentation

Full documentation is available at gohatch.someonewho.codes.

License

European Union Public License 1.2 (EUPL-1.2)

About

Scaffold Go projects from git-hosted templates with automatic module path rewriting

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors