Deotry is golang seed project
make
- Split configuration (viper, go build constraints)
- Database connect (gorm)
- Code Quality Check
- Gofmt
- Golint
- Vet
- Unittests
- Code coverage(gocov)
- Go report card(goreportcard-cli)
- Dependency management ([dep][https://github.com/jinzhu/gorm])
- Logging (distillog, lumberjack)
- Rotate file
- Daemon (daemon)
Project Tree
deotry
├── Gopkg.lock
├── Gopkg.toml
├── LICENSE
├── README.md
├── config
│ ├── config.go
│ ├── config_debug.go
│ ├── config_release.go
│ └── config_test.go
├── config.yml
├── coverage
│ └── report.html
├── docker-compose.yml
├── log -> /tmp/log/deotry
├── logger
│ └── logger.go
├── main.go
├── makefile
├── model
│ ├── database.go
│ └── database_test.go
└── tools
├── install_required.sh
└── mysql_check.sh