There is no official go project specification framework or widely agreed standard other than go.mod
.
- Structure go applications
Download the latest gocreate
binary
go install github.com/complexorganizations/gocreate@latest
Create a project applications using gocreate
gocreate {PROJECT}
{PROJECT}
├── assets
│ └── README.md
├── build
│ └── README.md
├── cmd
│ └── README.md
├── go.mod
├── go.sum
├── internal
│ └── README.md
├── main.go
├── pkg
│ └── README.md
├── README.md
├── scripts
│ └── README.md
└── vendor
└── README.md
OS | Supported |
---|---|
Darwin | ✔️ |
FreeBSD | ✔️ |
Linux | ✔️ |
NetBSD | ✔️ |
OpenBSD | ✔️ |
Plan 9 | ✔️ |
Solaris | ✔️ |
Windows | ✔️ |
- Open Source Community
Copyright © 2021 ComplexOrganizations
The Apache 2.0 license governs the distribution of this project.