Merge 2a636f8a2a8b3aa36ae91808440dbd6a1c61fa9b into d5b353c5d5a560322e6d96121c814115562501f7

This commit is contained in:
田欧 2017-06-04 09:04:24 +00:00 committed by GitHub
commit 474556445e
5 changed files with 17 additions and 17 deletions

View File

@ -2,7 +2,7 @@ List of all the awesome people working to make Gin the best Web Framework in Go.
##gin 0.x series authors ## gin 0.x series authors
**Maintainer:** Manu Martinez-Almeida (@manucorporat), Javier Provecho (@javierprovecho) **Maintainer:** Manu Martinez-Almeida (@manucorporat), Javier Provecho (@javierprovecho)
@ -226,4 +226,4 @@ People and companies, who have contributed, in alphabetical order.
**@yuyabee** **@yuyabee**
- Fixed README - Fixed README

View File

@ -1,5 +1,5 @@
**Machine:** intel i7 ivy bridge quad-core. 8GB RAM. **Machine:** intel i7 ivy bridge quad-core. 8GB RAM.
**Date:** June 4th, 2015 **Date:** June 4th, 2015
[https://github.com/gin-gonic/go-http-routing-benchmark](https://github.com/gin-gonic/go-http-routing-benchmark) [https://github.com/gin-gonic/go-http-routing-benchmark](https://github.com/gin-gonic/go-http-routing-benchmark)
``` ```
@ -295,4 +295,4 @@ BenchmarkPossum_GPlusAll 100000 19685 ns/op 6240 B/op
BenchmarkR2router_GPlusAll 100000 16251 ns/op 5040 B/op 76 allocs/op BenchmarkR2router_GPlusAll 100000 16251 ns/op 5040 B/op 76 allocs/op
BenchmarkRevel_GPlusAll 20000 93489 ns/op 21656 B/op 368 allocs/op BenchmarkRevel_GPlusAll 20000 93489 ns/op 21656 B/op 368 allocs/op
BenchmarkRivet_GPlusAll 100000 16907 ns/op 5408 B/op 64 allocs/op BenchmarkRivet_GPlusAll 100000 16907 ns/op 5408 B/op 64 allocs/op
``` ```

View File

@ -1,6 +1,6 @@
#CHANGELOG # CHANGELOG
###Gin 1.0rc2 (...) ### Gin 1.0rc2 (...)
- [PERFORMANCE] Fast path for writing Content-Type. - [PERFORMANCE] Fast path for writing Content-Type.
- [PERFORMANCE] Much faster 404 routing - [PERFORMANCE] Much faster 404 routing
@ -35,7 +35,7 @@
- [FIX] MIT license in every file - [FIX] MIT license in every file
###Gin 1.0rc1 (May 22, 2015) ### Gin 1.0rc1 (May 22, 2015)
- [PERFORMANCE] Zero allocation router - [PERFORMANCE] Zero allocation router
- [PERFORMANCE] Faster JSON, XML and text rendering - [PERFORMANCE] Faster JSON, XML and text rendering
@ -79,7 +79,7 @@
- [FIX] Better support for Google App Engine (using log instead of fmt) - [FIX] Better support for Google App Engine (using log instead of fmt)
###Gin 0.6 (Mar 9, 2015) ### Gin 0.6 (Mar 9, 2015)
- [NEW] Support multipart/form-data - [NEW] Support multipart/form-data
- [NEW] NoMethod handler - [NEW] NoMethod handler
@ -89,14 +89,14 @@
- [FIX] Improve color logger - [FIX] Improve color logger
###Gin 0.5 (Feb 7, 2015) ### Gin 0.5 (Feb 7, 2015)
- [NEW] Content Negotiation - [NEW] Content Negotiation
- [FIX] Solved security bug that allow a client to spoof ip - [FIX] Solved security bug that allow a client to spoof ip
- [FIX] Fix unexported/ignored fields in binding - [FIX] Fix unexported/ignored fields in binding
###Gin 0.4 (Aug 21, 2014) ### Gin 0.4 (Aug 21, 2014)
- [NEW] Development mode - [NEW] Development mode
- [NEW] Unit tests - [NEW] Unit tests
@ -105,7 +105,7 @@
- [FIX] Improved documentation for model binding - [FIX] Improved documentation for model binding
###Gin 0.3 (Jul 18, 2014) ### Gin 0.3 (Jul 18, 2014)
- [PERFORMANCE] Normal log and error log are printed in the same call. - [PERFORMANCE] Normal log and error log are printed in the same call.
- [PERFORMANCE] Improve performance of NoRouter() - [PERFORMANCE] Improve performance of NoRouter()
@ -123,7 +123,7 @@
- [FIX] Check application/x-www-form-urlencoded when parsing form - [FIX] Check application/x-www-form-urlencoded when parsing form
###Gin 0.2b (Jul 08, 2014) ### Gin 0.2b (Jul 08, 2014)
- [PERFORMANCE] Using sync.Pool to allocatio/gc overhead - [PERFORMANCE] Using sync.Pool to allocatio/gc overhead
- [NEW] Travis CI integration - [NEW] Travis CI integration
- [NEW] Completely new logger - [NEW] Completely new logger

View File

@ -373,7 +373,7 @@ func main() {
``` ```
###Multipart/Urlencoded binding ### Multipart/Urlencoded binding
```go ```go
package main package main
@ -451,7 +451,7 @@ func main() {
} }
``` ```
####Serving static files #### Serving static files
```go ```go
func main() { func main() {
@ -465,7 +465,7 @@ func main() {
} }
``` ```
####HTML rendering #### HTML rendering
Using LoadHTMLTemplates() Using LoadHTMLTemplates()

View File

@ -1,4 +1,4 @@
#Gin Default Server # Gin Default Server
This is API experiment for Gin. This is API experiment for Gin.