Skip to content

cameronbrill/create-go-app

Repository files navigation

Go Report Card GoDoc

create-go-app

This is a create-react-app for Go projects, based on go-project-template.

installation

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

usage

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

reach

  • inject projects into current go module at ./cmd/<project>

disclaimer

This repository is not associated with create-react-app or create-go-app/cli in any way. This is my personal side project.