Go Gin Boilerplate

Golang、Gin 和 DynamoDB 的入门项目。「A starter project with Golang, Gin and DynamoDB」

Github stars Tracking Chart

Go Gin Boilerplate

A starter project with Golang, Gin and DynamoDB

Build Status
codebeat badge
Go Version
License
FOSSA Status

Golang Gin boilerplate with DynamoDB resource. Supports multiple configuration environments.

This project use a DynamoDB base docker image.

Setup DynamoDB dependency: docker run -d -p 8080:8080 vsouza/dynamo-local --port 8080

Boilerplate structure

.
├── Makefile
├── Procfile
├── README.md
├── config
│   ├── config.go
│   ├── development.yaml
│   ├── production.yaml
│   └── test.yaml
├── controllers
│   └── user.go
├── db
│   └── db.go
├── forms
│   └── user.go
├── header.jpg
├── main.go
├── middlewares
│   └── auth.go
├── models
│   └── user.go
└── server
    ├── router.go
    └── server.go

Installation

Install Godeps

go get github.com/tools/godep

then run:

make deps

Usage example

curl http://localhost:8888/health

Development setup

Running DynamoDB on Docker Image:

check this project: vsouza/docker-dynamoDB-local

Setup Glide:

Glide Package Management

Release History

  • 0.0.1
    • Configuration by environment, Auth and Log middlewares, User entity.

Meta

Vinicius Souza – @iamvsouzahi@vsouza.com

Distributed under the MIT license. See License for more information.

https://github.com/vsouza

License

FOSSA Status

Main metrics

Overview
Name With Ownervsouza/go-gin-boilerplate
Primary LanguageGo
Program languageMakefile (Language Count: 3)
PlatformLinux, Mac, Windows
License:
所有者活动
Created At2016-07-21 13:41:16
Pushed At2025-02-05 21:13:59
Last Commit At
Release Count1
Last Release Name0.0.2 (Posted on )
First Release Name0.0.2 (Posted on )
用户参与
Stargazers Count782
Watchers Count14
Fork Count162
Commits Count47
Has Issues Enabled
Issues Count4
Issue Open Count0
Pull Requests Count12
Pull Requests Open Count0
Pull Requests Close Count2
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private