Popularity
4.8
Stable
Activity
0.0
Stable
148
4
29
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.
-
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.
InfluxDB โ Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
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