Commit Graph

1527 Commits

Author SHA1 Message Date
Notealot 923d019416 bump to v1.7.6 2021-11-22 14:39:10 +08:00
Notealot 61a624715a Merge remote-tracking branch 'upstream/master' 2021-11-22 13:50:00 +08:00
edebernis 57ede9c95a
Export struct sliceValidateError to allow error casting and rename it as (#2777)
SliceValidationError

Co-authored-by: Emeric de Bernis <emeric.debernis@adevinta.com>
2021-11-21 21:45:03 +08:00
Notealot 725acf51eb Merge remote-tracking branch 'upstream/master' 2021-11-21 21:44:52 +08:00
zero11-0203 6aee45608d
Fix grammar (#2933) 2021-11-11 08:07:55 +08:00
Alexander Melentyev 89a159bdd9
Bump golangci-lint version (#2929) 2021-11-03 22:13:24 +08:00
Quentin ROYER efa3175007
Update version.go (#2923) 2021-11-01 08:33:38 +08:00
Ibraheem Ahmed cbdd47a7e1
fix tsr with mixed static and wildcard paths (#2924) 2021-11-01 08:21:37 +08:00
Tommy Chu d4e72a17f7
Fix typo (#2926) 2021-10-31 09:23:08 +08:00
Notealot 5ab90b59b0 Merge remote-tracking branch 'upstream/master' 2021-10-27 16:14:55 +08:00
市民233 1c2aa59b20
fix the misplacement of adding slashes (#2847) 2021-10-26 18:15:29 +08:00
Notealot 529fbae85f Merge remote-tracking branch 'upstream/master' 2021-10-25 22:01:07 +08:00
heige eb75ce0ff5
adjust the routergroup Any method (#2701) 2021-10-24 09:31:13 +08:00
Notealot 2d3d6d2f13
Provide custom options of TrustedPlatform for another CDN services (#2906)
* refine TrustedPlatform and docs

* refactor for switch

* refactor switch to if statement
2021-10-24 08:34:03 +08:00
Zhu Xi 3fe928994b
Update the code logic for latestNode in tree.go (#2897) 2021-10-23 11:58:57 +08:00
Allen Ren 34ae7777ca
README.md: fix a typo (#2913) 2021-10-22 21:26:14 +08:00
Notealot a3ed292f12 Merge remote-tracking branch 'upstream/master' 2021-10-19 20:54:02 +08:00
dependabot[bot] 464535ff94
Bump github.com/goccy/go-json from 0.7.9 to 0.7.10 (#2905)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-19 07:55:14 +08:00
Egor Seredin 5929d52171
ClientIP: check every proxy for trustiness (#2844) 2021-10-09 08:38:51 +08:00
Notealot bb7bd5fecf
Merge branch 'gin-gonic:master' into master 2021-10-07 01:31:14 +08:00
dependabot[bot] 21125bbb3f
Bump github.com/goccy/go-json from 0.7.8 to 0.7.9 (#2891)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-06 09:38:42 +08:00
Notealot 39181329de
Tidy: Complete TrustedProxies feature (#2887) 2021-10-06 09:37:25 +08:00
Notealot 5b8833e76d fix some typo 2021-10-01 22:28:51 +08:00
Notealot 7d8be0557f
Merge branch 'gin-gonic:master' into master 2021-09-30 12:13:05 +08:00
Notealot 7d84c45579 some typo fix 2021-09-30 12:06:53 +08:00
axiaoxin 1a2bc0e7cb
setted typo fix: There’s no such word as `setted`, `set` is set, set, setting (#2886) 2021-09-30 10:04:28 +08:00
Notealot 4d41a2f010 Perfect TrustedProxies feature 2021-09-29 22:56:28 +08:00
Notealot 6d75aba83f
Quick Fix c.ClientIP() mistakely parsing to 127.0.0.1 for who not using r.Run() to run http server (#2832) 2021-09-29 19:26:02 +08:00
joeADSP 97b3c0d88a
Fix grammatical and spelling errors in context.go (#2883) 2021-09-29 07:35:06 +08:00
Alexander Melentyev f469c1be39
Add gosec (#2882) 2021-09-28 11:37:31 +08:00
寻寻觅觅的Gopher d6534ccf38
turn on HandleMethodNotAllowed when using NoMethod #2871 (#2872) 2021-09-28 09:45:50 +08:00
Aravinth Sundaram ef168679ce
Correcting grammatical errors in README file (#2880) 2021-09-28 08:57:36 +08:00
dependabot[bot] e052bf31aa
Bump github.com/json-iterator/go from 1.1.11 to 1.1.12 (#2865)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-21 15:23:31 +08:00
Matthieu MOREL 71f7087097
golangci(lint) : more linters (#2870) 2021-09-21 15:22:21 +08:00
Henry Yee 3a6f18f32f
fixed SetOutput() panics on go 1.17 (#2861)
* fixed SetOutput() panics on go 1.17

* update go.sum
2021-09-08 11:30:55 +08:00
wssccc ae349b4015
Fix typo (#2860) 2021-09-07 13:05:19 +08:00
Tevic eab47b5423
fix: check obj type in protobufBinding (#2851)
* fix: check obj type in protobufBinding

* fix: UnitTest for invalid proto obj
2021-09-07 10:10:32 +08:00
filikos deb83b6365
gin.Context.SetParam shortcut for e2e tests (#2848)
* Added SetParam shortcut for e2e tests, added SetParam test

* Adjusted naming and formatting

* fixed typo
2021-09-07 10:08:45 +08:00
Alexander Melentyev 5c62979390
bump golangci-lint version (#2858) 2021-09-07 06:43:42 +08:00
dependabot[bot] abcf32f5ad
Bump github.com/goccy/go-json from 0.7.7 to 0.7.8 (#2859)
Bumps [github.com/goccy/go-json](https://github.com/goccy/go-json) from 0.7.7 to 0.7.8.
- [Release notes](https://github.com/goccy/go-json/releases)
- [Changelog](https://github.com/goccy/go-json/blob/master/CHANGELOG.md)
- [Commits](https://github.com/goccy/go-json/compare/v0.7.7...v0.7.8)

---
updated-dependencies:
- dependency-name: github.com/goccy/go-json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-07 06:43:08 +08:00
Bo-Yi Wu a550c568d7
chore: Add go1.17 for testing (#2828)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-09-06 08:21:03 +08:00
thinkerou e4c026e2a1
Fix go1.17 test error (#2856) 2021-09-06 08:10:06 +08:00
dependabot[bot] 30cdbfcf4c
Bump github.com/goccy/go-json from 0.7.6 to 0.7.7 (#2849)
Bumps [github.com/goccy/go-json](https://github.com/goccy/go-json) from 0.7.6 to 0.7.7.
- [Release notes](https://github.com/goccy/go-json/releases)
- [Changelog](https://github.com/goccy/go-json/blob/master/CHANGELOG.md)
- [Commits](https://github.com/goccy/go-json/compare/v0.7.6...v0.7.7)

---
updated-dependencies:
- dependency-name: github.com/goccy/go-json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-31 09:58:54 +08:00
Lanco 4e7584175d
minor tweaks,optimize code (#2788) 2021-08-23 01:32:41 +08:00
Alexander Melentyev dfc25f91e0
Add short func with named return (#2837) 2021-08-22 09:29:51 +08:00
Alexander Melentyev 8200903817
Delete deadcode exclude rules (#2838) 2021-08-21 21:46:52 +08:00
Alexander Melentyev c303020561
bump golangci-lint (#2839) 2021-08-21 21:45:30 +08:00
Alexander Melentyev 527d950252
Delete unused arg (#2834) 2021-08-21 14:59:17 +08:00
Alexander Melentyev f3a6b69fd0
Delete unused static const (#2830) 2021-08-20 08:38:24 +08:00
Matthieu MOREL a46dee3a9a
Update .golangci.yml (#2829) 2021-08-19 16:16:18 +08:00