Popularity
4.9
Growing
Activity
0.0
Stable
132
5
26
Programming language: Go
License: MIT License
Tags:
Miscellaneous
Project Layout
scaffold alternatives and similar packages
Based on the "Project Layout" category.
Alternatively, view scaffold alternatives based on common mentions on social networks and blogs.
-
golang-standards/project-layout
Standard Go Project Layout -
ardanlabs/service
Starter code for writing web services in Go using Kubernetes. -
go-restful-api
An idiomatic Go REST API starter kit (boilerplate) following the SOLID principles and Clean Architecture -
golang-templates/seed
Go application GitHub repository template. -
go-starter
An opinionated production-ready SQL-/Swagger-first RESTful JSON API written in Go, highly integrated with VSCode DevContainers by allaboutapps. -
go-todo-backend
Go Todo Backend example using modular project layout for product microservice. -
wangyoucao577/go-project-layout
My understanding of how to structure a golang project.
Build time-series-based applications quickly and at scale.
InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.
Promo
www.influxdata.com
Do you think we are missing an alternative of scaffold or a related project?
README
scaffold
Scaffold generates starter Go project layout. Let you can focus on buesiness logic implemeted.
The following is Go project layout scaffold generated:
├── Dockerfile
├── Makefile
├── README.md
├── cmd
│ └── main.go
├── config
│ ├── config.go
│ ├── config.yml
│ ├── database.go
│ ├── http.go
│ └── release.go
├── docker-compose.yml
├── model
│ └── model.go
└── web
├── routes.go
├── server.go
└── version.go
Installation
Download scaffold by using:
$ go get -u github.com/catchplay/scaffold
Create a new project
Going to your new project folder:
# change to project directory $ cd $GOPATH/src/path/to/project
Run
scaffold init
in the new project folder:
$ scaffold init
- That will generate a whole new starter project files like:
Create Dockerfile
Create README.md
Create cmd/main.go
Create config/config.go
Create config/database.go
Create config/http.go
Create config/release.go
Create docker-compose.yml
Create model/model.go
Create web/routes.go
Create web/server.go
Create web/version.go
Create Makefile
Create config/config.yml
Success Created. Please excute `make up` to start service.
- And you can run the new project by using:
sh $ make run