Commit Graph

893 Commits

Author SHA1 Message Date
Javier Provecho Fernandez 54fe9df889 Merge pull request #962 from gin-gonic/feat/func-maps
Made funMaps for the templates configurable and hot-reloadable
2017-07-02 10:51:52 +02:00
Eason Lin 76a63b257d Improve debug code coverage (#963)
* Improve debug.go code coverage

* lint code
2017-07-02 02:29:29 -05:00
Bo-Yi Wu 6d071c1d36
Add load html file and func map.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-07-02 13:06:43 +08:00
Bo-Yi Wu a40699e07f
add FuncMap testing
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-07-02 12:38:05 +08:00
Thomas Boerger e38c36ee0d
Made funMaps for the templates configurable and hot-reloadable 2017-06-30 21:22:40 +02:00
Javier Provecho Fernandez 470fe62637 docs(changelog): update v1.2 changelog 2017-06-28 00:53:53 +02:00
Javier Provecho Fernandez 544b8b4dc8 docs(readme): switch deprecated bindwith for mustbindwith 2017-06-28 00:53:28 +02:00
Javier Provecho Fernandez 68aa2c38da fix(context): switch deprecated bindwith for mustbindwith 2017-06-28 00:46:35 +02:00
Javier Provecho Fernandez cbf414d600 docs(readme): add example on custom delims #860 2017-06-28 00:45:18 +02:00
Javier Provecho Fernandez 1a9cba2cc7 Merge pull request #855 from gin-gonic/feat/662
feat(context): add idiomatic binding functions for clear err managment
2017-06-28 00:16:34 +02:00
Javier Provecho Fernandez c8af276865 chore(vendor): update vendor.json 2017-06-27 23:31:11 +02:00
Javier Provecho Fernandez 9a79e3f144 fix(import): switch sse import from gopkg to github 2017-06-27 23:17:02 +02:00
Javier Provecho Fernandez dc016d0bcb docs(readme): s/gopkg.in.../github.com.../ 2017-06-27 23:16:18 +02:00
Javier Provecho Fernandez 0b3f6d13be docs(readme): switch back import from gopkg to github 2017-06-27 23:03:29 +02:00
Javier Provecho Fernandez 10ebe65e88 Merge branch 'revert-942' into develop 2017-06-27 22:59:51 +02:00
Javier Provecho Fernandez 80942e67a8 docs(license): add julienschmidt/httprouter license URL 2017-06-27 22:58:49 +02:00
Javier Provecho Fernandez 3b8150c83c Revert "unify license (#942)"
This reverts commit 53799774f4.
2017-06-27 22:54:42 +02:00
Javier Provecho Fernandez d7ab0da647 Merge branch 'master' into develop 2017-06-27 22:39:09 +02:00
田欧 0681715dda add Makefile for example (#951) 2017-06-15 20:07:42 -05:00
田欧 1a627c2449 fmt code style (#950) 2017-06-14 21:14:25 -05:00
田欧 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
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