A simple CLI tool to create a new Go project with a very basic directory structure.
Contributions are welcome!
.
├── .git
├── .gitignore
├── Makefile (optional)
├── README.md
├── Taskfile.yml (optional)
├── go.mod
└── main.go
$ go install github.com/alexjoedt/goinit
$ goinit my-new-project
Create project with a Makefile:
$ goinit -m my-new-project
# or
$ goinit --makefile my-new-project
Create project with a Taskfile
$ goinit -t my-new-project
# or
$ goinit --taskfile my-new-project
Sets the module name
$ goinit -gm my-new-project
# or
$ goinit --module github.com/alexjoedt/goinit my-new-project
- Set the module name
- Create project with a Makefile
- Create project with a Taskfile
- Create project with a Dockerfile