A starter project with Golang, Gin and MongoDB
.
├── README.md
├── config
│ ├── config.go
│ ├── development.yaml
│ ├── production.yaml
│ └── test.yaml
├── controllers
│ └── user.go
├── db
│ └── db.go
├── main.go
├── middlewares
│ └── auth.go
├── models
│ └── user.go
├── server
│ ├── router.go
│ └── server.go
├── utils
├── test
└── vendor
├── your_vendor
└── vendor.json
Install Govendor
go get -u github.com/kardianos/govendor
then run:
govendor sync
- 0.0.1
- First commit :)
Inspired from https://github.com/vsouza/go-gin-boilerplate