Go Gin Boilerplate

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

Github星跟蹤圖

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

主要指標

概覽
名稱與所有者vsouza/go-gin-boilerplate
主編程語言Go
編程語言Makefile (語言數: 3)
平台Linux, Mac, Windows
許可證
所有者活动
創建於2016-07-21 13:41:16
推送於2025-02-05 21:13:59
最后一次提交
發布數1
最新版本名稱0.0.2 (發布於 )
第一版名稱0.0.2 (發布於 )
用户参与
星數782
關注者數14
派生數162
提交數47
已啟用問題?
問題數4
打開的問題數0
拉請求數12
打開的拉請求數0
關閉的拉請求數2
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?