Giter VIP home page Giter VIP logo

awesome-gin's Introduction

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.

awesome-gin's People

Contributors

alexyin avatar axiaoxin avatar colynn avatar darkweak avatar fatihkahveci avatar flowerwrong avatar joffref avatar ledinhbao avatar yasaricli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.