An open API service indexing awesome lists of open source software.

https://github.com/duke-git/go_restful_api

a simple go restful api project
https://github.com/duke-git/go_restful_api

Last synced: 2 months ago
JSON representation

a simple go restful api project

Awesome Lists containing this project

README

        

# A simple golang restful api project.

## golang技术架构栈

* web框架:[go-gin](https://gin-gonic.com/)
* log日志库:[logrus](https://github.com/Sirupsen/logrus)
* 配置库管理:[viper](https://github.com/spf13/viper) [教程](https://blog.csdn.net/cs380637384/article/details/81217767)
* db orm库:[gorm](http://gorm.book.jasperxu.com/)
* 鉴权:[oauth2](https://github.com/go-oauth2/oauth2), [jwt](https://github.com/dgrijalva/jwt-go)
* rpc框架:[grpc](https://doc.oschina.net/grpc?t=58008)
* redis操作库:[go-redis](https://github.com/go-redis/redis)
* mongoDB操作:[mgo](https://github.com/globalsign/mgo)
* 性能分析:[pprof](https://www.jianshu.com/p/4e4ff6be6af9)
* 微服务框架:[go-micro](https://www.jianshu.com/p/352778f089c0)
* 开发环境服务热更新:[air](https://github.com/cosmtrek/air)