Commit Graph

1175 Commits

Author SHA1 Message Date
田欧 6dac8c8a48 delete else keyword (#948) 2017-06-12 22:36:05 -05:00
田欧 9ee5afff48 fix markdown render style (#943) 2017-06-12 22:35:10 -05:00
Bo-Yi Wu 1e1e4fc867 Add Makefile to check the following thing (#947)
* Add Makefile to check the following thing.

* vet check
* fmt check
* embedmd check
* misspell check

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* remove unused variable.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-06-12 21:50:42 -05:00
Eason Lin 9ff8786b3d Improve errors code coverage (#944) 2017-06-12 21:37:20 -05:00
田欧 4a2b55037f delete else keyword (#945) 2017-06-12 21:36:37 -05:00
田欧 53799774f4 unify license (#942) 2017-06-12 04:01:09 -05:00
田欧 4ad3baf44e Add license for some files (#940) 2017-06-12 01:04:52 -05:00
田欧 d922143bc5 lint code for import (#939) 2017-06-11 21:40:15 -05:00
Bo-Yi Wu 53295a75a4 refactor: update protobuf version (#936) 2017-06-06 20:35:07 -05:00
collinmsn 3f95933c3d Add method to return main handler (#930)
Fix #928 Method to get main handler is desired
2017-06-02 03:00:55 -05:00
Javier Provecho Fernandez 5eea51b6c9 feat(context): add cast helpers to c.Keys (#856)
* feat(context): add cast helpers to c.Keys

* Add tests for cast helpers to c.Keys
2017-06-01 20:00:04 -05:00
sope 35f5df63e6 add custom Delims support (#860)
* Revert "Merge pull request #753 from gin-gonic/bug"

This reverts commit 556287ff08, reversing
changes made to 32cab500ec.

* Revert "Merge pull request #744 from aviddiviner/logger-fix"

This reverts commit c3bfd69303, reversing
changes made to 9177f01c28.

* add custom Delims support

* add some test for Delims

* remove the empty line for import native package

* remove unuseful comments
2017-05-29 03:03:49 -05:00
Eason Lin 8295db44ed Add content negotiation tests code coverage (#921) 2017-05-29 01:28:38 -05:00
Eason Lin 214a746b1d Improve cookie tests code coverage (#918) 2017-05-24 17:39:05 +08:00
Ammar Bandukwala 781cbd19f0
panic if err is nil on c.Error
A panic here provides a more informative stack trace than the panic which would otherwise occur while errors are being collected.
2017-05-09 22:30:56 -05:00
Rahul Datta Roy d4a53101c3 Fix minor type in context.go (#900)
* Fix minor type in context.go

* More spelling fixes in context.go
2017-05-04 09:22:48 +08:00
Andrey Nering 6a3a8ae61b Fix time.Time binding (#904)
If a empty string is given(`""`), them time should be zero.
2017-05-04 09:22:00 +08:00
Manu MA d5b353c5d5 Update README.md
Github does not render README correctly, missing whitespaces
2017-04-28 12:59:23 +02:00
Javier Provecho Fernandez 957f6205c8 docs: update changelog 2017-04-17 10:00:48 +02:00
Javier Provecho Fernandez c85bbb8b52 Merge pull request #863 from appleboy/tls
feat: support Let's Encrypt tls.
2017-04-17 09:58:29 +02:00
Bo-Yi Wu 03a76c00ea revert vendor.json
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-04-17 13:43:33 +08:00
Bo-Yi Wu f8520b83f9 update
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-04-17 13:41:47 +08:00
Javier Provecho Fernandez 3b54702915 docs(readme) update changelog 2017-04-07 22:34:27 +02:00
Javier Provecho Fernandez 0ea70b03ac Merge branch 'master' into develop 2017-04-07 22:26:51 +02:00
Javier Provecho Fernandez c5d9c2f0fa bump version to 1.2 2017-04-07 22:18:36 +02:00
Javier Provecho Fernandez a57bb191c7 Update CHANGELOG.md 2017-04-07 22:17:46 +02:00
Bo-Yi Wu 2da17294c9 feat: listen https. 2017-04-04 14:19:44 +08:00
Bo-Yi Wu 0cb7cf88cb docs: add comment. 2017-04-04 14:19:04 +08:00
Bo-Yi Wu fb502ca58b docs: update 2017-04-03 23:42:21 +08:00
Bo-Yi Wu 6b0ae2a64a docs: update example. 2017-04-03 23:34:00 +08:00
Bo-Yi Wu d17e0a31b8 fix: remove hard code for cache. 2017-04-03 23:30:46 +08:00
Bo-Yi Wu 70d0a4c5ba fix: build only from Go version 1.7 onward 2017-04-03 22:51:56 +08:00
Bo-Yi Wu 46220b726d feat: support Let's Encrypt tls. 2017-04-03 21:23:45 +08:00
Bo-Yi Wu 41316b9ca9 feat: add GetRawData func. (#857)
* feat: add GetRawData func.

* update return style

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-03-31 08:45:56 +08:00
Javier Provecho 73e5fcd855 feat(context): add idiomatic binding functions for clear err managment 2017-03-29 14:32:12 +00:00
Bo-Yi Wu ad2dacedd6 feat: Support get value from request header. (#839) 2017-03-24 20:43:23 +08:00
Bo-Yi Wu 6bdc9afc8f fix readme format (#837)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-03-16 10:54:00 -05:00
Bo-Yi Wu b8be9df642 docs: add graceful-shutdown example for go 1.8 (#835)
* docs: add graceful-shutdown example for go 1.8

* fix testing

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-03-16 10:38:30 -05:00
Bo-Yi Wu 28b18cd1fb feat: support cygwin for log writer. (#834) 2017-03-15 20:15:41 -05:00
Bo-Yi Wu b1a15020d0 fix: gofmt error. (#833) 2017-03-11 07:35:29 -06:00
Javier Provecho Fernandez 7e136484b8 Merge pull request #825 from rohanpai/develop
docs(readme): add sourcegraph badge
2017-03-02 00:03:16 +01:00
Rohan Pai b2d7e35a60 Added Sourcegraph badge 2017-03-01 12:51:13 -08:00
Sergey Gonimar 38cc731224 fix typo (#822) 2017-03-01 16:42:59 +08:00
Sergey Egorov b1872ec369 The url.RawPath used when engine.UseRawPath is set to true. (#810) 2017-02-28 18:29:41 +08:00
cssivision f4dec22c50 fix: buffer should reset when test logger output (#819) 2017-02-28 15:15:52 +08:00
Manu MA a47a8ca6e7 docs(README): fixes the markdown code format 2017-02-26 20:03:05 +01:00
Harindu Perera 5be2123c1a Added support for MessagePack binding and rendering (#808)
Added deps to vendor.json and fixed rendering bug
2017-02-23 22:08:37 +08:00
Andrey Nering 863248034b Support time.Time on form binding (#801) 2017-02-17 21:32:36 +08:00
Bo-Yi Wu d94ee48fb7 Add go 1.8.x testing on travis (#806) 2017-02-17 16:38:56 +08:00
Bo-Yi Wu 7fcc6088c1 Support testing on latest version of golang. 2017-02-16 09:27:10 +08:00