Commit Graph

1544 Commits

Author SHA1 Message Date
Bo-Yi Wu 12508320c2
feat: change json lib to jsoniter
A high-performance 100% compatible drop-in replacement of "encoding/json"

https://github.com/json-iterator/go

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-07-08 16:51:36 +08:00
Javier Provecho Fernandez c4249f923f Merge pull request #987 from easonlin404/secure-json
feat(render): add SecureJSON func to prevent json hijacking
2017-07-08 10:41:41 +02: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
Javier Provecho Fernandez 0c3726b206 docs(readme): remove logo, relink it to gin-gonic/logo 2017-07-07 09:21:44 +02:00
Eason Lin 7eb943e70a Use single line (#985) 2017-07-06 19:43:47 -05:00
田欧 e0fd6238d3 use comma ok and use single line (#984) 2017-07-06 09:49:54 -05:00
田欧 34e972e155 Separate type define (#983) 2017-07-06 07:59:27 -05:00
Javier Provecho Fernandez 7387ef60be docs(readme): add badge for projects who use gin 2017-07-06 08:53:48 +02:00
Javier Provecho Fernandez ff5788bfdd docs(readme): upload full size logo 2017-07-06 08:41:27 +02:00
Eason Lin 436d8e2af9 Improve serveError code coverage (#980) 2017-07-05 20:30:09 -05:00
田欧 b985857899 update func comment (#981) 2017-07-05 20:28:16 -05:00
Javier Provecho Fernandez 22ee916dfe docs(conduct): add code of conduct 2017-07-05 18:25:37 +02:00
Javier Provecho Fernandez 316cb812c3 Merge pull request #978 from thinkerou/add_mode_case
add test case of mode
2017-07-05 17:03:03 +02:00
Javier Provecho Fernandez 2521d8246d Merge pull request #979 from easonlin404/fix-comment
fix(comment): remove todo
2017-07-05 17:01:51 +02:00
Javier Provecho Fernandez 42a34cdc35 docs(context): document keys, errors, and accepted, close #488 2017-07-05 16:55:59 +02:00
Eason Lin 71d3ae4f92 fix(comment): remove todo 2017-07-05 22:50:33 +08:00
Javier Provecho Fernandez e4fd80c627 docs(readme): add sections to template docs 2017-07-05 16:22:58 +02:00
Regner Blok-Andersen ee7b912a24 Updating IsDebugging docs to remove redudent words. (#868) 2017-07-05 09:17:03 -05:00
Javier Provecho Fernandez e0518111f8 Merge pull request #910 from ammario/develop
panic if err is nil on c.Error
2017-07-05 15:26:15 +02:00
thinkerou f843c33370 add test case of mode 2017-07-05 21:05:02 +08:00
thinkerou 2a36eefcff add test case of mode 2017-07-05 20:37:28 +08:00
田欧 31ac11a298 update comment method (#977) 2017-07-05 04:37:24 -05:00
田欧 d535fcd598 separate type define (#975) 2017-07-05 02:47:36 -05:00
田欧 22fc0284e3 update readme (#976) 2017-07-04 21:42:56 -05:00
田欧 7d043cedb1 improved swap (#974) 2017-07-04 20:55:50 -05:00
Eason Lin 735748b359 fix(tests): TestDebugPrintLoadTemplate use assert.Regep instead of assert.Equal (#973) 2017-07-04 03:36:12 -05:00
田欧 ecf1b37850 add doc.go (#970) 2017-07-04 03:17:54 -05:00
Bo-Yi Wu baf216e167 add error check. (#972)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-07-04 03:12:29 -05:00
田欧 df67c64479
fix cleanPath spell (#969) 2017-07-04 10:10:28 +08:00
Bo-Yi Wu f0b54a3023 fix: update autotls example. (#965) 2017-07-03 00:55:21 -05:00
Javier Provecho Fernandez 92ddc7d240 docs(test): add missing inline docs 2017-07-02 17:06:53 +02:00
Javier Provecho Fernandez 484acfc303 docs(logger): add missing inline docs 2017-07-02 17:05:21 +02:00
Javier Provecho Fernandez 114b71868a refactor(deprecated): remove getcookie 2017-07-02 16:59:21 +02:00
Javier Provecho Fernandez 89f0acc2f8 docs(auth): add missing logs for auth.go 2017-07-02 16:54:49 +02:00
Bo-Yi Wu 1923b35983 update document format. (#964)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-07-02 09:41:06 -05:00
Javier Provecho Fernandez de1fdfd1e5 docs(readme): fix embedmd build 2017-07-02 16:34:52 +02:00
Javier Provecho Fernandez 912a7df572 docs(readme): fix step in vendor tool example 2017-07-02 16:28:37 +02:00
Javier Provecho Fernandez 84fc31f9f8 docs(readme): move contribution guide to a separate file 2017-07-02 14:35:10 +02:00
Javier Provecho Fernandez d875f07409 Merge branch 'master' into develop 2017-07-02 14:23:55 +02:00
Javier Provecho Fernandez 5ce686113b docs(readme): add example on using vendor tool for version lock 2017-07-02 12:46:36 +02:00
Javier Provecho Fernandez 753d82e186 docs(readme): compress logo size 2017-07-02 12:29:50 +02:00
Javier Provecho Fernandez 1d03a46c54 docs(readme): make logo smaller as before 2017-07-02 12:27:38 +02:00
Javier Provecho Fernandez 55dd6364cb docs(readme): update to color logo 2017-07-02 12:23:54 +02:00
Javier Provecho Fernandez 0cbf0f48aa docs(readme): update contribution guide
- change new prs base branch from develop to master
2017-07-02 11:58:19 +02:00
Javier Provecho Fernandez d459835d2b Merge pull request #871 from gin-gonic/develop
v1.2
2017-07-02 11:28:26 +02:00
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 #962 template func maps 2017-07-02 10:55:39 +02:00
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