Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hequan2017/get
go web 框架
https://github.com/hequan2017/get
gin go golang goweb
Last synced: 7 days ago
JSON representation
go web 框架
- Host: GitHub
- URL: https://github.com/hequan2017/get
- Owner: hequan2017
- License: mit
- Created: 2020-01-07T07:12:44.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-01-08T07:54:52.000Z (almost 5 years ago)
- Last Synced: 2024-06-19T05:27:12.480Z (5 months ago)
- Topics: gin, go, golang, goweb
- Language: Go
- Size: 12.5 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Go web framework
![版本](https://img.shields.io/badge/release-1.0.0-blue.svg)
## 开发者
* 何全## 特别感谢
> 在此 https://github.com/geektutu/7days-golang 项目上进行修改完成。
> https://geektutu.com/post/gee.html
## 结构
* context 上下文
* router 路由
* middleware 中间件## context
```gotype Context struct {
// origin objects
Writer http.ResponseWriter
Req *http.Request
// request info
Path string
Method string
Params map[string]string
// response info
StatusCode int
// middleware
handlers []HandlerFunc
index int
// engine pointer
engine *Engine
}```