Commit Graph

1573 Commits

Author SHA1 Message Date
Manu Mtz-Almeida deb137cdd2 Adds benchmarks 2015-05-30 14:43:09 +02:00
Manu Mtz-Almeida 48633f7001 Better documentation 2015-05-29 21:03:41 +02:00
Manu Mtz-Almeida 66e9feb622 Optimizes tree lookup 2015-05-29 21:03:28 +02:00
Manu Mtz-Almeida 9584e4ea5c Fix for #310 2015-05-29 20:34:41 +02:00
Brendan Fosberry 302cd99322 Fixing compile bug 2015-05-29 12:12:54 -05:00
Manu Mtz-Almeida e899d8a99e Code cleanup + documentation 2015-05-28 03:22:34 +02:00
Manu Mtz.-Almeida 5680762712 Merge pull request #305 from JustinBeckwith/patch-1
add querystring parameter example to readme
2015-05-28 03:16:49 +02:00
Manu Mtz-Almeida b96f68ce7b Fixes RunTLS() implementation
- thanks @Dal-Papa
2015-05-28 03:02:53 +02:00
Manu Mtz.-Almeida 34411c896f Merge pull request #312 from kmulvey/add-logger-tests
Added tests for colorForMethod() and colorForStatus()
2015-05-28 02:59:45 +02:00
Kevin Mulvey 7469025182 forgot the default of ColorForMethod 2015-05-27 20:53:28 -04:00
Kevin Mulvey 1b031cb271 Added tests for colorForMethod() and colorForStatus() 2015-05-27 20:36:37 -04:00
Manu Mtz.-Almeida 49415b16d5 Merge pull request #309 from konjoot/readme-fix
Updated "Multipart Form" section in Readme.md
2015-05-27 16:14:01 +02:00
Maksimov Sergey f06e80799b blank line removed 2015-05-27 09:01:32 +03:00
Maksimov Sergey c7013e4ea2 Fixed "Multipart Form" section in README.md 2015-05-27 08:59:50 +03:00
Manu Mtz-Almeida 54a86280f9 Testing more use cases. 2015-05-26 17:49:25 +02:00
Manu Mtz-Almeida a843d320a5 Better unit tests for binding forms 2015-05-26 17:22:39 +02:00
Justin Beckwith b7253902d0 Update README.md 2015-05-26 08:11:20 -07:00
Manu Mtz-Almeida ec1ce34d32 Merge branch 'multipart-form-data-fix' of https://github.com/konjoot/gin
- the merge was manually modified before committing.
2015-05-26 16:47:10 +02:00
Manu Mtz-Almeida af8e099dfd Fixes multipart integration 2015-05-26 16:31:05 +02:00
Manu Mtz-Almeida 500d745123 PostForm() handles multipart post 2015-05-26 16:16:57 +02:00
Maksimov Sergey e46f4980b9 Restored support of multipart/form-data 2015-05-26 15:21:35 +03:00
Manu Mtz-Almeida 195ea88a28 Cosmetic changes 2015-05-26 12:35:05 +02:00
Manu Mtz-Almeida 4797530476 Fixes example code 2015-05-26 12:15:43 +02:00
Manu Mtz-Almeida d209329891 Updates documentation 2015-05-26 12:13:51 +02:00
Manu Mtz-Almeida 4c1447bc29 Fixes unit tests 2015-05-26 12:11:59 +02:00
Manu Mtz-Almeida 865ea804c9 Renames new API for query/postform and params. 2015-05-26 12:08:33 +02:00
Justin Beckwith 8d812a2097 Update README.md 2015-05-25 21:19:02 -07:00
Justin Beckwith f8d34ac8b6 Update README.md 2015-05-25 21:17:23 -07:00
Justin Beckwith 3feb5578dd add querystring parameter example to readme 2015-05-25 21:15:52 -07:00
Manu Mtz-Almeida 40d41bbe96 Updates CHANGELOG 2015-05-24 17:45:31 +02:00
Manu Mtz-Almeida 98951c44aa Return 404 when listing empty directory 2015-05-24 17:03:44 +02:00
Manu Mtz-Almeida fcfe65685a Refactored StaticFS()
- different approach to disable directory listing.
2015-05-24 16:29:55 +02:00
Manu Mtz-Almeida 0a9030f9d7 ClientIP() must trim the white spaces 2015-05-24 15:35:08 +02:00
Manu Mtz-Almeida 80d3cc6b75 Adds test for single IP in X-Forwarded-For 2015-05-24 15:28:58 +02:00
Manu Mtz-Almeida 967e62337a form mapping optimisation 2015-05-24 03:56:11 +02:00
Manu Mtz-Almeida 208e1f5569 Merge branch 'master' of https://github.com/remerge/gin
Conflicts:
	binding/binding.go
2015-05-24 03:33:21 +02:00
Manu Mtz-Almeida eb91af753d Better debug warning message 2015-05-24 01:21:23 +02:00
Manu Mtz-Almeida e2adae9003 Solution for Google App Engine?
https://cloud.google.com/appengine/docs/go/logs/
2015-05-24 01:00:17 +02:00
Manu Mtz-Almeida a2105ce34c Fast path for setting headers.
- No heap allocation
- No indirection
- CanonicalMIMEHeaderKey() is not called
2015-05-23 16:39:25 +02:00
Manu Mtz-Almeida 35fd7fb480 JSON flags are not longer needed. 2015-05-23 02:01:43 +02:00
Manu Mtz-Almeida 2ebb6dcb95 Using uint64 for ErrorType 2015-05-23 01:59:36 +02:00
Manu Mtz.-Almeida a373dc0deb Merge pull request #299 from 4gophers/master
Patch for #298
2015-05-23 01:36:15 +02:00
Artem 68a7a6816c patch for #298 2015-05-23 02:19:07 +03:00
Manu Mtz-Almeida 992b00f96a Cosmetic changes 2015-05-22 19:21:35 +02:00
Manu Mtz-Almeida ffaf49da0e Adds MIT license 2015-05-22 19:21:23 +02:00
Manu Mtz-Almeida 4eeca21039 Errors conforms to MarshalJSON interface 2015-05-22 18:34:42 +02:00
Manu Mtz-Almeida 9163ee543d Merge branch 'develop' 2015-05-22 17:00:07 +02:00
Manu Mtz-Almeida 66fa43f9ae Preparing release Gin v1.0rc1 2015-05-22 16:55:16 +02:00
Manu Mtz-Almeida 8549810e2e Using "validator.v5" 2015-05-22 16:46:21 +02:00
Manu Mtz-Almeida 37b6f6c179 Fixing new errors API 2015-05-22 16:39:15 +02:00