Commit Graph

1298 Commits

Author SHA1 Message Date
Javier Provecho Fernandez a8ea89ea38 fix(test): remove wildcard loadtemplate 2017-07-02 11:17:42 +02:00
Javier Provecho Fernandez 2535b46bab docs(readme): add template func maps example
copied from gin_test.go @appleboy commit
2017-07-02 11:07:22 +02:00
Javier Provecho Fernandez bea012a17f docs(changelog): add template func maps 2017-07-02 10:55:39 +02:00
Javier Provecho Fernandez 54fe9df889 Merge pull request 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 ()
* 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 2017-06-28 00:45:18 +02:00
Javier Provecho Fernandez 1a9cba2cc7 Merge pull request 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 ()"
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 () 2017-06-15 20:07:42 -05:00
田欧 1a627c2449 fmt code style () 2017-06-14 21:14:25 -05:00
田欧 6dac8c8a48 delete else keyword () 2017-06-12 22:36:05 -05:00
田欧 9ee5afff48 fix markdown render style () 2017-06-12 22:35:10 -05:00
Bo-Yi Wu 1e1e4fc867 Add Makefile to check the following thing ()
* 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 () 2017-06-12 21:37:20 -05:00
田欧 4a2b55037f delete else keyword () 2017-06-12 21:36:37 -05:00
田欧 53799774f4 unify license () 2017-06-12 04:01:09 -05:00
田欧 4ad3baf44e Add license for some files () 2017-06-12 01:04:52 -05:00
田欧 d922143bc5 lint code for import () 2017-06-11 21:40:15 -05:00
Bo-Yi Wu 53295a75a4 refactor: update protobuf version () 2017-06-06 20:35:07 -05:00
collinmsn 3f95933c3d Add method to return main handler ()
Fix  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 ()
* 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 ()
* Revert "Merge pull request  from gin-gonic/bug"

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

* Revert "Merge pull request  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 () 2017-05-29 01:28:38 -05:00
Eason Lin 214a746b1d Improve cookie tests code coverage () 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 ()
* 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 ()
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 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