Commit Graph

  • 7c9e3b0e29 Fix prefix conflict in exact paths Yue Yang 2021-04-28 14:56:07 +08:00
  • 0c266f9c72 use errors.New to replace fmt.Errorf will much better 0x2d3c 2021-04-27 22:30:10 +08:00
  • 39fa5a345f Add test Yue Yang 2021-04-25 18:01:51 +08:00
  • 801d7b3bd6 Fix conflict between param and exact path Yue Yang 2021-04-25 17:29:42 +08:00
  • 48ffd65527 [ci skip] Add note about nomsgpack tag to the readme yuuji.yaginuma 2021-04-24 13:17:43 +09:00
  • 5f80e0a7dc when the status code changes and Written, ResponseWriter status code should be changed together.Otherwise,logs status code is not same as response. jarhmj 2021-04-22 23:30:48 +08:00
  • 0c473db64a adjust the routergroup Any method daheige 2021-04-22 21:55:55 +08:00
  • 5eb55a8059 reflect code maping optimize daheige 2021-04-21 23:43:51 +08:00
  • 523761dc9c code style adjust daheige 2021-04-21 23:30:51 +08:00
  • 6661885bfa error export for type multipart.FileHeader daheige 2021-04-21 23:28:53 +08:00
  • 20d21ff67f adjust code for TrySet daheige 2021-04-21 23:13:50 +08:00
  • 39c42871ae setFormMap error of result daheige 2021-04-21 23:05:59 +08:00
  • 3f726c6ad8 adjust Copy method for gin Context daheige 2021-04-21 22:03:44 +08:00
  • ae8e59ee7a adjust the routergroup Any method daheige 2021-04-21 21:57:08 +08:00
  • 936c45de44 context_test TestContextClientIP yiranzai 2021-04-21 10:05:59 +08:00
  • 16691a36ca
    Merge branch 'master' into set_trusted_proxy Bo-Yi Wu 2021-04-21 08:46:40 +08:00
  • c0418c48e4
    Add support go-json, another drop-in json replacement. (#2680) zzjin 2021-04-21 08:45:49 +08:00
  • f2771e70ba
    Merge branch 'master' into go-json thinkerou 2021-04-21 08:31:54 +08:00
  • f1da692fbd
    RouterGroup.Handle regular match optimization of http method (#2685) heige 2021-04-21 08:24:55 +08:00
  • c9b3ba66cd
    Merge branch 'master' into go-json thinkerou 2021-04-21 08:24:09 +08:00
  • a0a6813ed6
    Merge branch 'master' into router-group-handle-optimization Bo-Yi Wu 2021-04-21 07:55:25 +08:00
  • 7313b8fddc
    Use Header() instead of deprecated HeaderMap (#2694) y-yagi 2021-04-21 08:55:08 +09:00
  • b3ea3b69ce
    Merge branch 'master' into go-json Bo-Yi Wu 2021-04-21 07:39:22 +08:00
  • 537c9ae6b6
    Merge branch 'master' into use-Header-instead-of-deprecated-HeaderMap Bo-Yi Wu 2021-04-21 07:39:07 +08:00
  • 77649bcfee
    support Go v1.16 version (#2638) thinkerou 2021-04-21 07:38:54 +08:00
  • 1990f44347 fix content-type thinkerou 2021-04-19 20:39:01 +08:00
  • 7ce1d9d3d4 Merge remote-tracking branch 'upstream/master' into go16 thinkerou 2021-04-19 19:59:27 +08:00
  • 2bb70315d3 Use Header() instead of deprecated HeaderMap yuuji.yaginuma 2021-04-17 14:27:22 +09:00
  • 7b7187182a Merge remote-tracking branch 'upstream/master' thinkerou 2021-04-15 20:53:23 +08:00
  • af5459f4cd
    Merge branch 'master' into router-group-handle-optimization thinkerou 2021-04-15 18:29:41 +08:00
  • 08dd235dc4 set engine.TrustedProxies For items that don't use gin.RUN yiranzai 2021-04-15 14:01:49 +08:00
  • f2ff2aa91a
    rm schedule from codeql Serhat Şevki Dinçer 2021-04-12 23:55:47 +03:00
  • 591f050254
    Create codeql-analysis.yml Serhat Şevki Dinçer 2021-04-12 15:40:57 +03:00
  • ee4de846a8
    Remove go1.12 support (#2679) thinkerou 2021-04-12 00:29:34 +08:00
  • 6828ad30e7 RouterGroup.Handle regular match optimization of http method daheige 2021-04-11 15:10:53 +08:00
  • 2affe8b208 use 'trees.get()' method to find root of the tree for the given HTTP method biningo 2021-04-10 10:48:49 +08:00
  • 81c4110cb4
    Merge branch 'master' into master thinkerou 2021-04-09 19:53:43 +08:00
  • 1aa1b5a65b add support go-json,another json replacement zzjin 2021-04-09 16:51:05 +08:00
  • 10f25612e6
    Update debug.go thinkerou 2021-04-09 10:01:13 +08:00
  • 9b1288569b
    Merge branch 'master' into remove-go12 thinkerou 2021-04-09 08:16:07 +08:00
  • 51c7d001e0
    bump to v1.7.1 (#2678) v1.7.1 thinkerou 2021-04-09 07:38:13 +08:00
  • 9b060ac335
    Update errors_test.go thinkerou 2021-04-09 06:37:32 +08:00
  • 710567f8f4 fix thinkerou 2021-04-09 06:32:38 +08:00
  • 1709c30cd8 bump to v1.7.1 thinkerou 2021-04-09 06:29:30 +08:00
  • 198ce37279 Merge remote-tracking branch 'upstream/master' thinkerou 2021-04-09 06:24:24 +08:00
  • 11063e2d0b not support go1.12 thinkerou 2021-04-09 06:09:43 +08:00
  • 03e5e05ae0
    fix: data race with trustedCIDRs (#2674) (#2675) Xudong Cai 2021-04-09 00:27:34 +08:00
  • 240bc02986 fix: data race with trustedCIDRs (#2674) fifsky 2021-04-08 22:21:38 +08:00
  • 806032f73a Merge remote-tracking branch 'upstream/master' fifsky 2021-04-08 22:18:13 +08:00
  • f90b418465 Merge remote-tracking branch 'upstream/master' thinkerou 2021-04-08 17:52:39 +08:00
  • d496f64540
    bump to v1.7.0 version (#2672) v1.7.0 Bo-Yi Wu 2021-04-08 15:47:41 +08:00
  • badb498a1a docs: update change log Bo-Yi Wu 2021-04-08 10:28:21 +08:00
  • f7b8401ca0 bump to v1.7.0 version Bo-Yi Wu 2021-04-06 10:56:34 +08:00
  • fdb3c49385 Merge remote-tracking branch 'upstream/master' thinkerou 2021-04-06 12:54:28 +08:00
  • bfc8ca285e
    feat(engine): add trustedproxies and remoteIP (#2632) Manu MA 2021-04-06 05:37:25 +02:00
  • 9018d58385
    Merge branch 'master' into fix-client-ip-cve Bo-Yi Wu 2021-04-06 10:52:46 +08:00
  • 2fdd344083
    Merge branch 'master' into github-actions Bo-Yi Wu 2021-04-06 10:49:56 +08:00
  • f3de8132c5
    Add mixed param and non-param paths (port of httprouter#329) (#2663) Ross Wolf 2021-04-05 20:49:08 -06:00
  • 65711ec461
    Merge branch 'master' into fix-client-ip-cve Bo-Yi Wu 2021-04-05 06:59:14 +08:00
  • b12c3e637b test: add test for gin.Context.Method() Leung Yau Ming 2021-03-31 19:41:54 +08:00
  • c900ec70d4 feat: add Method() function to gin.Context Leung Yau Ming 2021-03-31 10:57:47 +08:00
  • 24cea05888 1. add ShouldBindMsgPack; 2. seriallize the given struct as MsgPack into the response body. unknown 2021-03-30 15:07:39 +08:00
  • 32b29824c2
    Merge branch 'master' into port-httprouter-329 Ross Wolf 2021-03-29 11:24:11 -06:00
  • 0c40e2d085 now you can replace binding.Form parser yys 2021-03-29 15:48:22 +08:00
  • bf8ca36d34
    Merge 8da51b6c82414b2c4b92eed136251e2fbac290db into a331dc6a31473b7208c57ec32e14bfcec3062dbb ffhelicopter 2021-03-27 20:35:57 +05:30
  • bbeea53689
    Merge 9fd1cc3d2b3f983949a123a401cedf951e3335d5 into a331dc6a31473b7208c57ec32e14bfcec3062dbb Q3Master 2021-03-27 16:03:04 +01:00
  • ab6bfe8e84
    Merge c844dc82992f5001d86d0c2eb0f4b8cd97fce372 into a331dc6a31473b7208c57ec32e14bfcec3062dbb Hooman Mohammadi 2021-03-27 16:03:04 +01:00
  • 1b71919699
    Merge 9fd784da0c10610134e7a6640d6e59eda416ed29 into a331dc6a31473b7208c57ec32e14bfcec3062dbb Kirill Belov 2021-03-27 16:03:04 +01:00
  • 3483d2c07d remove nil statement thinkerou 2021-03-27 20:37:01 +08:00
  • 02d889a29a fix: go install requires a specific version laojianzi 2021-03-27 16:59:25 +08:00
  • f71ddcbe60 ci: add go version 1.16 laojianzi 2021-03-27 16:37:14 +08:00
  • ac5241fa2b Merge branch 'gin-gonic-master' into github-actions laojianzi 2021-03-27 16:35:57 +08:00
  • e3f85d8161 Merge branch 'master' of https://github.com/gin-gonic/gin into gin-gonic-master laojianzi 2021-03-27 16:28:35 +08:00
  • 3fc259ee56
    Merge 45935cfac8766d012d8097500093afc929146bdd into a331dc6a31473b7208c57ec32e14bfcec3062dbb Thomas Godart 2021-03-27 15:38:32 +08:00
  • a331dc6a31
    chore: remove duplicate test 'assert.Equal' (#2617) Ni Hao 2021-03-27 14:41:31 +08:00
  • 2d7fc06969 add unit test thinkerou 2021-03-27 13:59:31 +08:00
  • feaee20a81 add unit test thinkerou 2021-03-27 12:46:46 +08:00
  • 56fbadcde6
    Merge branch 'master' into fix-client-ip-cve thinkerou 2021-03-27 11:33:54 +08:00
  • 08766787f9 fix error thinkerou 2021-03-27 11:32:49 +08:00
  • 38530b7646
    Merge branch 'master' into remove_duplicate_test_line thinkerou 2021-03-27 09:50:40 +08:00
  • 4dd584f7aa
    Merge branch 'master' into port-httprouter-329 Bo-Yi Wu 2021-03-27 09:10:48 +08:00
  • ed6f85c478
    build: convert to go:build directives (#2664) thinkerou 2021-03-27 09:09:44 +08:00
  • 5428711066 updata build sort thinkerou 2021-03-27 08:51:23 +08:00
  • d485f68246 build: convert to go:build directives thinkerou 2021-03-27 08:38:37 +08:00
  • 159a0c09be
    Port changes from httprouter#329 to gin performance-check Ross Wolf 2021-03-26 09:37:37 -06:00
  • a0842be8e7
    Update tree.go youzeliang 2021-03-23 14:53:27 +08:00
  • 1aa4926ab7 fix 3 Anton Fediashov 2021-02-27 11:41:33 +03:00
  • 0fbdfac250 fix names Anton Fediashov 2021-02-27 11:35:21 +03:00
  • dcc17bf79a fix Anton Fediashov 2021-02-27 11:27:20 +03:00
  • c0c7214939
    Update go.mod Anton Fedyashov 2021-02-27 11:10:33 +03:00
  • 154c033ae1 Merge remote-tracking branch 'upstream/master' Anton Fediashov 2021-02-27 10:58:39 +03:00
  • ab254d1873 oops gyula 2021-02-19 15:00:42 +01:00
  • d7bb433fa9 replacing the imports gyula 2021-02-19 11:32:01 +01:00
  • 844d03ab00 Update go.mod gyula 2021-02-19 11:27:45 +01:00
  • 42219b5466 adding QueryMapArr gyula 2021-02-19 09:57:04 +01:00
  • f52556be58 for test yirenwei 2021-02-18 21:34:32 +08:00
  • 38d3ce1828 support go v1.16 thinkerou 2021-02-18 10:09:21 +08:00
  • 4bd0b4dc96 feat(CI): add a GitHub Action to lint the YAML files John Bampton 2021-02-15 03:42:20 +10:00
  • 7cdedf8e55
    Update README.md Yixin Xu 2021-02-14 20:51:23 +08:00
  • 9fd784da0c RoutesInfo: HandlersChain support for routes behavior better testing Kirill Belov 2021-02-12 11:11:03 +02:00