Commit Graph

1535 Commits

Author SHA1 Message Date
Alexander Nyquist a0ae5c296d Started writing unit tests 2014-07-04 10:12:28 +02:00
Manu Mtz-Almeida 493008ea3c Improved BasicAuth() example 2014-07-04 04:47:34 +02:00
Manu Mtz-Almeida 9efd207a04 Fixes BasicAuth test in example_basic.go 2014-07-04 04:40:00 +02:00
Manu Mtz-Almeida fa80b047f9 The Recovery() middleware should not print the errors (only panics) 2014-07-04 04:32:43 +02:00
Manu Mtz-Almeida 91df54a5c2 Better print formatting for Errors 2014-07-04 04:31:11 +02:00
Manu Mtz-Almeida 7582b9077c Adds more samples in README
- Goroutines inside a request
- Basic HTTP authorization
2014-07-04 04:30:30 +02:00
Manu Mtz-Almeida 661398ca53 Nicer BasicAuth API 2014-07-04 04:28:25 +02:00
Manu Mtz-Almeida c8cb943ef7 Adds a console image 2014-07-04 02:55:01 +02:00
Manu Mtz-Almeida 6da7374af5 Do not update status code in Abort() if code is a negative number 2014-07-04 00:37:54 +02:00
Manu Mtz-Almeida 78536abb58 Better logger
- Includes http method
 - Includes coloured status code
 - Better formatting
2014-07-04 00:25:12 +02:00
Nick Gerakines abe076b8f8 Adding MustGet method. Updating README. 2014-07-03 18:16:41 -04:00
Manu Mtz-Almeida e1781e2db1 Fixes "http: multiple response.WriteHeader calls" in 404 [Issue #29] 2014-07-04 00:12:35 +02:00
Manu Mtz-Almeida 00413032bb Merge branch 'master' into develop 2014-07-04 00:05:31 +02:00
Manu Mtz-Almeida edc3872dd0 Merge branch 'master' of github.com:gin-gonic/gin 2014-07-04 00:05:18 +02:00
Manu Mtz-Almeida d42aa6d868 Fixes wrap around http.ResponseWriter 2014-07-04 00:01:28 +02:00
Nick Gerakines 108bfb4470 Setting Get metadata method to return both an interface as well as an error to remove panic. 2014-07-03 15:17:24 -04:00
Manu Mtz.-Almeida 5eb0e10a78 Merge pull request #33 from jasonrhansen/master
Fix spelling and grammar errors in comments
2014-07-03 20:39:01 +02:00
jasonrhansen fd30d289a9 Fix spelling and grammar errors in comments 2014-07-03 12:30:01 -06:00
Manu Mtz-Almeida 1aa3216303 Some work around bindings. it may do not compile 2014-07-03 19:19:06 +02:00
Manu Mtz.-Almeida f0282c8ada Merge pull request #32 from alexandernyquist/master
Using template.Must to fix multiple return issue.
2014-07-03 18:09:19 +02:00
Manu Mtz.-Almeida a0104c2033 Merge pull request #31 from gin-gonic/travisci
Integration with TravisCI
2014-07-03 17:39:58 +02:00
Alexander Nyquist 8e7b817460 Using template.Must to fix multiple return issue. 2014-07-03 17:32:47 +02:00
Austin Heap 48911116ce removing CI for go v1.0 2014-07-03 08:30:00 -07:00
Austin Heap 9d4f958ce4 including build status in readme 2014-07-03 08:29:44 -07:00
Austin Heap 6fbfcacfa0 base travis ci config 2014-07-03 08:23:03 -07:00
Manu Mtz-Almeida b8053b284d Adds HEAD 2014-07-03 16:57:45 +02:00
Manu Mtz-Almeida df9ba52186 Merge branch 'options' of https://github.com/alexandernyquist/gin into alexandernyquist-options 2014-07-03 16:55:55 +02:00
Manu Mtz-Almeida bd33a76426 Merge branch 'contextCaching' into develop 2014-07-03 16:35:41 +02:00
Manu Mtz-Almeida 12fa9fe499 Improves Copy() in gin.Context 2014-07-03 16:35:20 +02:00
Manu Mtz-Almeida d7a3fdcd8f Testing Copy() instead of Keep() and Release() 2014-07-03 16:31:27 +02:00
Alexander Nyquist fd86812e81 Added OPTIONS to README 2014-07-03 16:16:40 +02:00
Alexander Nyquist 5e0d560dd6 Added support for OPTIONS verb 2014-07-03 16:14:33 +02:00
Manu Mtz-Almeida d9573b45c7 Adds Keep() and Release() to gin.Context 2014-07-03 15:59:39 +02:00
Manu Mtz-Almeida 30ea9c06fc Adds NewWithConfig() and CacheStress() 2014-07-03 14:11:42 +02:00
Manu Mtz-Almeida 28bf3981b0 Merge branch 'develop' 2014-07-02 23:11:15 +02:00
Manu Mtz-Almeida 615f19961e Run() crashes if server can't be setup 2014-07-02 23:10:30 +02:00
Manu Mtz.-Almeida 31c3b913ac Merge pull request #26 from javierprovecho/master
Added Google App Engine Example
2014-07-02 22:50:10 +02:00
Javier Provecho Fernandez 05d587d65e Clarification 2014-07-02 22:48:06 +02:00
Javier Provecho Fernandez ca91a4a6da Fix
Modified ping path and added a comment explaining why init() is called
like that.
2014-07-02 22:39:42 +02:00
Javier Provecho Fernandez f380265f5d Added README.md 2014-07-02 22:38:02 +02:00
Javier Provecho Fernandez 6b5e80901f Added Google App Engine Example 2014-07-02 22:08:37 +02:00
Manu Mtz-Almeida 2e50e2cc60 Adds more information in README.md 2014-07-02 20:52:47 +02:00
Manu Mtz-Almeida 10979dd862 Adds new context caching system
- Reduces allocation overhead
- Reduces Garbage Collection stress
- Reduces memory fragmentation
2014-07-02 20:17:57 +02:00
Manu Mtz-Almeida 503b1fadae Merge branch 'master' into develop 2014-07-02 20:12:55 +02:00
Javier Provecho 066b6e94c6 Merge pull request #25 from AlexanderChen1989/master
Fix README.md
2014-07-02 18:05:40 +02:00
Alexander 728e103924 Fix README.md 2014-07-03 00:00:41 +08:00
Manu Mtz.-Almeida 0ffb1ed953 Merge pull request #23 from javierprovecho/master
GoDoc Badge
2014-07-02 15:16:42 +02:00
Javier Provecho 15adea718d Fix 2014-07-02 14:38:01 +02:00
Javier Provecho 0318ebab19 Fix 2014-07-02 14:37:18 +02:00
Javier Provecho 0f32b55100 Add GoDoc Badge 2014-07-02 14:36:23 +02:00