Skip to content

feiyan/go-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-api

A Restful API Services Based on Golang/Gin

todo

  • Service 初步框架
  • 集成gorm并实现基础的对象查询
  • 日志处理
  • 实现多表JOIN、GROUPBY、HAVING
  • PB协议
  • redis/MongoDB/kfaka/rabbitMQ 基础接入

Target

  • 提供支持http/grpc的服务
  • 支持Docker
  • 基于日志/Redis的实时统计
  • 流量控制、分发

Packges

  • Gin: github.com/gin-gonic/gin
  • MySQL Driver: github.com/go-sql-driver/mysql
  • gorm: github.com/jinzhu/gorm
  • validator: github.com/go-playground/validator
  • logrus: github.com/sirupsen/logrus

Docs

  • gorm:主要复杂查询、事务和锁

Extra 不实现

  • 前台: Python 或者 PHP渲染
  • 后台: Vue

About

A Restful API Services Based on Golang/Gin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages