• Stars
    star
    396
  • Rank 108,171 (Top 3 %)
  • Language
  • Created over 6 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

awesome for gin framework

awesome-gin

Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API with much better performance -- up to 40 times faster. If you need smashing performance, get yourself some Gin. https://gin-gonic.github.io/gin/

Middlewares

Log

  • Bose/go-gin-logrus Gin Web Framework for using Logrus as the Gin logger with Tracing middleware
  • gin-contrib/zap Alternative logging through uber-go/zap
  • axiaoxin-com/logging GinLogger uses zap to log detailed access logs in JSON or text format with trace id, supports flexible and rich configuration, and supports automatic reporting of log events above error level to sentry.

HTML Templates

  • foolin/goview Goview is a lightweight, minimalist and idiomatic template library based on golang html/template for building Go web application. Supports ginview, echoview and gorice.
  • foolin/gin-template 🔥 (Deprecated) Golang template for gin framework with layout, cache, partial, multiple templates support.
  • html/template Gin's default HTML template
  • robvdl/pongo2gin Gin's pongo2 HTML template plugin, if you like django, you will like it also
  • FlowerWrong/plushgin Gin's plush HTML template plugin, if you like erb, you will like it also

websocket

metrics

Gin project in real world

Aritcles

Framework based on gin

  • go-ego/ego A full-stack web framework written in Go, lightweight and efficient front-end component solutions, based on gin. The front-end is compiled, does not affect the back-end.
  • LyricTian/gin-admin RBAC scaffolding based on Gin + Casbin + Ant Design React
  • chenhg5/morningo A Web develop project skeleton base on Gin
  • vsouza/go-gin-boilerplate A starter project with Golang, Gin and DynamoDB
  • ribice/gorsk-gin Idiomatic Golang Restful Starter Kit using Gin
  • xiaobopang/go_init Scaffolding based on gin, goredis, gorm, websocket, rabbitmq
  • axiaoxin-com/pink-lady Pinklady is a template project of gin app, which encapsulates mysql, redis, logging, viper, swagger, middlewares and other common components.

Generator

  • dcu/gin-scaffold Gin scaffold is CLI to generate scaffolds for the gin gonic framework.

Project layout

https://medium.com/wtf-dial/wtf-dial-domain-model-9655cd523182

Application design is a hard problem. There are so many design decisions to make and without a set of solid principles to guide you the problem is made even worse. We’ve looked at several current approaches to Go application design and we’ve seen many of their flaws. I believe approaching design from the standpoint of dependencies makes code organization simpler and easier to reason about. First we design our domain language. Then we isolate our dependencies. Next we introduce mocks to isolate our tests. Finally, we tie everything together within our main package.

More Repositories

1

tun2socks

Redirect tun flow to socks 5 in golang, support tcp and udp.
Go
423
star
2

ip2socks

ip flow to socks, support tun and tap.
Shell
39
star
3

yyrp

A http/https, socks proxy server, a mitm server and a ssocks server with rules
Ruby
28
star
4

erlim

An IM server written in erlang
Erlang
10
star
5

smart

A android app with proxy and firewall support, non-root, use VpnService, like surge + netguard, but less
Java
9
star
6

pusher

pusher server implement in go
Go
8
star
7

mblog

blogs write by yang with markdown
Erlang
6
star
8

xmpp4j

A xmpp demo written in java
Java
4
star
9

rztree

ztree with rails 4 (depressed)
Ruby
4
star
10

fw-vim

FlowerWrong's vim config file
Vim Script
3
star
11

rongcloud-ruby

RongCloud ruby sdk
Ruby
3
star
12

wx_ext

微信接口以及之外的扩展接口
Ruby
3
star
13

algorithms

Algorithms study
Go
2
star
14

plushgin

plush template for gin web framework
Go
2
star
15

srs_callback

A http hook callback app of srs
Ruby
2
star
16

network_cmds

network_cmds 543 form apple open source, modify for batch control route table
Roff
2
star
17

cwebsocket

A websocket server in c
C
2
star
18

omniauth-douyin

Douyin oauth2 strategy for OmniAuth 1.0
Ruby
1
star
19

lwip

Hooked for ip2socks, see hook xxx branch
C
1
star
20

OSXandiOSKernelProgrammingSourceCode

OSX and iOS Kernel Programming Book Source Code
C++
1
star
21

shadowsocks-go

demo
Go
1
star
22

proxy-server-ruby

A proxy ruby server
Ruby
1
star
23

godis

Go
1
star
24

acts_as_imageable

ActsAsImageable system for rails 4+ applications.
Ruby
1
star
25

editorjs

ruby parser for http://editorjs.io/
1
star
26

ffi-demos

ruby ffi bind c demos
C
1
star
27

simplecache

simple cache library in go
Go
1
star
28

scc_ruby

spring cloud config client in ruby
Ruby
1
star
29

anychat

Go
1
star