Eason Lin
81007d2ce0
refactor(test): unify assert.Equal usage ( #1054 )
2017-08-04 13:45:59 +08:00
Eason Lin
4b54b86272
fix composite literal uses unkeyed fields warnings, #1050 ( #1051 )
2017-08-02 23:00:10 +08:00
Eason Lin
df37e74fa1
doc(context): more clearer bind doc when input is not valid ( #1049 )
2017-08-01 12:49:28 +08:00
Eason Lin
7fafb3f4a1
doc(context): add status func comment. ( #1042 )
2017-07-28 08:50:58 +08:00
Eason Lin
c19aa0598b
feat(context): add BindQuery func ( #1029 )
...
* feat(context): add BindQuery func, only parse/bind the query string params.
* docs(readme): add BindQuery section.
* docs(readme): fix import.
* docs(readme): separate import
2017-07-19 09:50:05 +02:00
Eason Lin
30cfa590bb
dos(upload): fix alignment ( #1030 )
2017-07-17 20:23:10 -05:00
Eason Lin
8f861946b0
style(msgpack): remove redundant comments ( #1027 )
2017-07-17 05:57:59 -05:00
Eason Lin
93b3a0d7ec
feat(context): add SaveUploadedFile func. ( #1022 )
...
* feat(context): add SaveUploadedFile func.
* feat(context): update multiple upload examples.
* style(example): fix gofmt
* fix(example): add missing return
2017-07-15 22:42:08 -05:00
Eason Lin
5cb25a6410
docs(readme): fix multiple file example ( #1018 )
2017-07-14 12:28:16 -05:00
Eason Lin
02a6f9b6bc
chore(vendor): update json-iterator revison to fix TestRenderIndentedJSON failed ( #1003 )
...
* update json-iterator revison to fix TestRenderIndentedJSON failed
* fix(test): add space between key and value as same as standard JSON.
* fix(test): add space between key and value as same as standard JSON.
2017-07-11 00:59:03 -05:00
Eason Lin
8436a9d829
fix(render): remove repeated static check. ( #998 )
2017-07-10 01:45:19 -05:00
Eason Lin
bf9758ca05
Add SecureJSON doc
2017-07-09 01:54:43 +08:00
Eason Lin
b060a5f409
docs(readme): fix code link ( #989 )
2017-07-08 03:16:59 -05:00
Eason Lin
75ed286c60
feat: add SecureJSON func to prevent json hijacking
2017-07-08 01:21:30 +08:00
Eason Lin
7eb943e70a
Use single line ( #985 )
2017-07-06 19:43:47 -05:00
Eason Lin
436d8e2af9
Improve serveError code coverage ( #980 )
2017-07-05 20:30:09 -05:00
Eason Lin
71d3ae4f92
fix(comment): remove todo
2017-07-05 22:50:33 +08:00
Eason Lin
735748b359
fix(tests): TestDebugPrintLoadTemplate use assert.Regep instead of assert.Equal ( #973 )
2017-07-04 03:36:12 -05:00
Eason Lin
76a63b257d
Improve debug code coverage ( #963 )
...
* Improve debug.go code coverage
* lint code
2017-07-02 02:29:29 -05:00
Eason Lin
9ff8786b3d
Improve errors code coverage ( #944 )
2017-06-12 21:37:20 -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