All Projects → gogjango → gjango

gogjango / gjango

Licence: Apache-2.0 license
golang gin with go-pg orm

Programming Languages

go
31211 projects - #10 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to gjango

logger
Gin middleware/handler to logger url path using rs/zerolog
Stars: ✭ 119 (+190.24%)
Mutual labels:  gin-gonic
go-todo-app
Go + Angular Todo App
Stars: ✭ 21 (-48.78%)
Mutual labels:  gin-gonic
gin-swagger
DRY templates for go-swagger
Stars: ✭ 79 (+92.68%)
Mutual labels:  gin-gonic
clean-gin
Implementation of clean architecture in Go, Gin with dependency injection.
Stars: ✭ 181 (+341.46%)
Mutual labels:  gin-gonic
souin
An HTTP cache system, RFC compliant, compatible with @TykTechnologies, @traefik, @caddyserver, @go-chi, @bnkamalesh, @beego, @devfeel, @labstack, @gofiber, @go-goyave, @gin-gonic, @zalando, @zeromicro, @nginx and @apache
Stars: ✭ 269 (+556.1%)
Mutual labels:  gin-gonic
go-12factor-example
Example the 12factor app using golang
Stars: ✭ 20 (-51.22%)
Mutual labels:  gin-gonic
go-gin-logrus
Gin Web Framework for using Logrus as the Gin logger with Tracing middleware
Stars: ✭ 38 (-7.32%)
Mutual labels:  gin-gonic
requestid
Request ID middleware for Gin Framework
Stars: ✭ 115 (+180.49%)
Mutual labels:  gin-gonic
geo-smart-system
Open Source Realtime Tracking System
Stars: ✭ 36 (-12.2%)
Mutual labels:  gin-gonic
go-gin-web-server
Deploy Go Gin on Render
Stars: ✭ 23 (-43.9%)
Mutual labels:  gin-gonic
creatly-backend
🚀 Creatly backend app
Stars: ✭ 71 (+73.17%)
Mutual labels:  gin-gonic
fakerfactory
伪造数据的API服务
Stars: ✭ 53 (+29.27%)
Mutual labels:  gin-gonic
GoGonicEcommerceApi
Ecommerce Rest API application built in Go with Gin Gonic + Gorm
Stars: ✭ 81 (+97.56%)
Mutual labels:  gin-gonic
beancount-gs
基于 beancount 提供个人记账财务管理的 RESTful API 服务(包含前端页面)
Stars: ✭ 89 (+117.07%)
Mutual labels:  gin-gonic
httpsign
Signing HTTP Messages Middleware
Stars: ✭ 54 (+31.71%)
Mutual labels:  gin-gonic
ginhelper
gin framework helper
Stars: ✭ 16 (-60.98%)
Mutual labels:  gin-gonic
editor.sh
Yet another live programming environment for collaborative code editing and running.
Stars: ✭ 29 (-29.27%)
Mutual labels:  gin-gonic
go api boilerplate
🐶Go (Golang)🚀REST / GraphQL API + Postgres boilerplate
Stars: ✭ 127 (+209.76%)
Mutual labels:  gin-gonic
QuizApp
Quiz Portal with backend in Go and Gin while frontend in React
Stars: ✭ 22 (-46.34%)
Mutual labels:  gin-gonic
gin-rest-api
Example golang using gin framework everything you need, i create this tutorial special for beginner.
Stars: ✭ 56 (+36.59%)
Mutual labels:  gin-gonic

CircleCI Maintainability Test Coverage Go Report Card GitHub

golang gin with go-pg orm

An example project that uses golang gin as webserver, and go-pg library for connecting with a PostgreSQL database.

Get started

# postgresql config
cp .env.sample .env
source .env
# get dependencies and run
go get -v ./...
go run .

Tests and coverage

Run all tests

go test -coverprofile c.out ./...
go tool cover -html=c.out

# or simply
./test.sh

Run only integration tests

go test -v -run Integration ./...

./test.sh -i

Run only unit tests

go test -v -short ./...

# without coverage
./test.sh -s
# with coverage
./test.sh -s -c

Schema migration and cli management commands

# create a new database based on config values in .env
go run . create_db

# create our database schema
go run . create_schema

# create our superadmin user, which is used to administer our API server
go run . create_superadmin

# schema migration and subcommands are available in the migrate subcommand
# go run . migrate [command]
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].