This is a create-react-app for Go projects, based on go-project-template.
Make sure you have your go/bin
added to your PATH
variable, such as in your ~/.zshrc
or ~/.bash_profile
export PATH="$HOME/go/bin:$PATH"
In your terminal, run this command
go install github.com/cameronbrill/create-go-app@latest
Running create-go-app
will prompt you to choose a project name and template.
Optionally, you can be explicit with the name and template. The following produces a bare-bones cli app called project-name
:
create-go-app project-name --cli
- inject projects into current go module at
./cmd/<project>
This repository is not associated with create-react-app or create-go-app/cli in any way. This is my personal side project.