Popularity
4.9
Stable
Activity
0.0
Stable
141
5
27
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 -
go-starter
An opinionated production-ready SQL-/Swagger-first RESTful JSON API written in Go, highly integrated with VSCode DevContainers by allaboutapps. -
golang-templates/seed
Go application GitHub repository template. -
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.
Collect and Analyze Billions of Data Points in Real Time
Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.
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