Go 语言编写的 Web 框架 Gem
Gem
Gem 是一个用 Go(golang)语言编写的简单而又快速的 Web 框架,用于构建 restful 或 web 应用,基于 fasthttp。
安装
go get github.com/go-gem/gem
特性
* Graceful shutdown and restart(热重启)
* Leveled logging(分级的日志记录)
* Gem log - 默认。
* logrus - 结构化、可插入的日志包。
高性能、美观的 router,友好的 RESTful API。
会话支持
Various Middlewares(中间件)
* SON WEB TOKEN 中间件
* 压缩中间件
* Auth 基础中间件
* 请求正文限制中间件
* CSRF 中间件
* CORS 中间件
Not bad scores of test coverage (测试覆盖率)- 可接受 85%~100%。