Generate scaffold domain driven design project layout for Go.
The following is Go Domain Driven Design project layout scaffold generated:
├── Dockerfile
├── Makefile
├── README.md
├── cmd
│ └── main.go
├── config
│ └── config.go
├── database
│ └── db.go
├── env
│ └── env.go
└── docker-compose.yml
Download Scaffold by using:
$ go get -u github.com/Allan-Nava/Go-DDD-Scaffold
- 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