gb
github.com/faerulsalamun/golang-boilerplate
go get github.com/faerulsalamun/golang-boilerplate
gb

github.com/faerulsalamun/golang-boilerplate

A starter project with Golang, Gin and MongoDB

go get github.com/faerulsalamun/golang-boilerplate
Readme

Golang Boilerplate

A starter project with Golang, Gin and MongoDB

Boilerplate structure

.
├── 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

Installation

Install Govendor

go get -u github.com/kardianos/govendor

then run:

govendor sync

Release History

  • 0.0.1
    • First commit :)

Inspired from https://github.com/vsouza/go-gin-boilerplate

GitHub Stars

11

LAST COMMIT

6yrs ago

MAINTAINERS

0

CONTRIBUTORS

1

OPEN ISSUES

0

OPEN PRs

0
VersionTagPublished
v0.0.0-20160831194945-e5312ff38ed9
2yrs ago
No alternatives found
No tutorials found
Add a tutorial