mstmdev
8cd11c82e4
chore(docs): Remove the Brigade project, because the Gin is no longer used in the latest version and the Brigade is an archived CNCF project now ( #3378 )
2023-01-17 14:26:27 +08:00
thinkerou
82e1c53cc0
docs(readme): move more example to docs/doc.md ( #3449 )
2023-01-02 10:40:25 +08:00
mstmdev
c629689591
docs(readme): Add the TOML rendering example ( #3400 )
2022-11-17 22:37:50 +08:00
gobai
234a1d33f7
docs(readme): Modify sample code bugs ( #3394 )
2022-11-17 22:34:37 +08:00
mstmdev
a0acf1df28
docs(readme): Using the embed package as a recommended example that build a single binary with templates ( #3379 )
2022-11-09 14:50:46 +08:00
mstmdev
8edb7a71a1
docs(readme): Update some go website links ( #3376 )
2022-11-06 17:10:33 +08:00
mstmdev
3a6865ac03
docs(readme): The krakend is rename to lura ( #3377 )
2022-11-06 17:09:25 +08:00
王哈哈
971fe21876
docs(comment): Modify comment syntax error ( #3389 )
2022-11-06 17:05:10 +08:00
mstmdev
fa58bff301
chore(dep): Changes minimum support go version to go1.16 ( #3361 )
2022-10-16 09:32:28 +08:00
Rainshaw
8374ed2268
feat: add sonic json support ( #3184 )
...
* feat: add sonic json support
* fix: add blank line in readme
2022-08-02 10:20:59 +08:00
Bo-Yi Wu
79dd72deb9
docs: update markdown format ( #3260 )
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2022-08-01 09:23:45 +08:00
thinkerou
6de2245e62
switch min version of go to 1.15 ( #3211 )
2022-06-27 07:11:41 +08:00
Qt
92ba8e17aa
fix: typo ( #3171 )
2022-06-02 11:52:28 +08:00
Valentine Oragbakosi
ed03102ef0
[GIN-001] - Add TOML bining for gin ( #3081 )
...
Co-authored-by: GitstartHQ <gitstart@users.noreply.github.com>
2022-05-28 08:34:43 +08:00
Jonathan (JC) Chen
888b14ab28
docs: Update README.md ( #3108 )
2022-04-16 09:52:09 +08:00
thinkerou
62265c893c
chore: support min version of go: 1.14 ( #2964 )
2022-03-21 10:51:17 +08:00
a2tt
f073e33fb9
fix: typo ( #3086 )
2022-03-18 17:41:09 +08:00
thinkgo
417b142703
feat: add StaticFileFS ( #2749 )
...
* RouterGroup.StaticFileFS added
add StaticFileFS ad README
* fix Static content mistake
* update README `tab`
improve StaticFile and StaticFileFS code, use staticFileHandler
2022-03-18 09:52:23 +08:00
linzi
90330e2a76
Distinguish between group and nested group ( #3083 )
2022-03-17 11:55:08 +08:00
phithon
ecadd82592
doc: change the form name of upload example code ( #3076 )
2022-03-15 11:24:17 +08:00
jincheng9
d062a6a615
docs: redirect to the correct line of code ( #2998 )
2021-12-26 08:02:01 +08:00
linzi
1538ece13f
Update README.md ( #2997 )
2021-12-23 07:51:12 +08:00
linzi
e56d18f19d
Update README.md ( #2985 )
2021-12-11 16:24:10 +08:00
minarc
f068099d0d
Update README.md ( #2954 )
2021-11-28 09:24:14 +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
Allen Ren
34ae7777ca
README.md: fix a typo ( #2913 )
2021-10-22 21:26:14 +08:00
Notealot
39181329de
Tidy: Complete TrustedProxies feature ( #2887 )
2021-10-06 09:37:25 +08:00
Aravinth Sundaram
ef168679ce
Correcting grammatical errors in README file ( #2880 )
2021-09-28 08:57:36 +08:00
goqihoo
b463b1c2a1
Update README.md ( #2804 )
...
1. c.FullPath() == "/user/:name/*action"
get following error:
evaluated but not used
2. c.String(http.StatusOK, "The available groups are [...]", name)
get following error:
undefined: name
2021-08-11 09:42:25 +08:00
voidman
690aa2b1b9
feat(binding): support custom struct tag ( #2720 )
...
* feat(binding): support custom struct tag
Add function `binding.MapFormWithTag` (#2719 )
* doc: add 'bind form-data with custom struct tag'
Add 'Bind form-data request with custom struct and custom tag' section (#2719 )
* test(binding): add test for MapFromWithTag
2021-06-30 00:53:56 +08:00
Jeff
fb8a113f8d
ci: add github action workflows ( #2596 )
...
* ci: add github action workflows
* test: fixed the TestUnixSocket test on windows (#20 )
* ci: add github action workflows (#18 )
* Remove .travis.yml
* ci: replace GITTER_ROOM_ID and upload coverage every time you go test
* ci: update coverage using codecov/codecov-action@v1
* Merge branch 'master' into github-actions
* repo: replace travis ci to github actions
* ci: add go version 1.16
* fix: go install requires a specific version
* chore(ci): remove go 1.12 support
* chore(ci): remove os windows-latest
Co-authored-by: thinkerou <thinkerou@gmail.com>
Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-06-23 13:10:49 +08:00
yugu
d7091e7dec
README.md update ( #2715 )
...
Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-05-19 10:57:23 +08:00
y-yagi
5452a1d3ef
Add note about `nomsgpack` tag to the readme ( #2703 )
...
Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-05-01 14:13:50 +08:00
y-yagi
1acb459c10
Fix example code of `Bind Uri` ( #2710 )
...
Need to pass a string to `gin.H` to show a message correctly.
2021-05-01 13:57:22 +08:00
zzjin
c0418c48e4
Add support go-json, another drop-in json replacement. ( #2680 )
...
Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Co-authored-by: thinkerou <thinkerou@gmail.com>
2021-04-21 08:45:49 +08:00
thinkerou
ee4de846a8
Remove go1.12 support ( #2679 )
...
* Revert "Adding ppc64le architecture support on travis-ci (#2538 )"
This reverts commit fca3f95d7c
.
* not support go1.12
* fix
* Update errors_test.go
* Update debug.go
2021-04-12 00:29:34 +08:00
Manu MA
bfc8ca285e
feat(engine): add trustedproxies and remoteIP ( #2632 )
...
Co-authored-by: Søren L. Hansen <soren@linux2go.dk>
Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Co-authored-by: thinkerou <thinkerou@gmail.com>
Co-authored-by: Javier Provecho Fernandez <javiertitan@gmail.com>
2021-04-06 11:37:25 +08:00
Ross Wolf
f3de8132c5
Add mixed param and non-param paths (port of httprouter#329) ( #2663 )
...
Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-04-06 10:49:08 +08:00
Alexander Melentyev
e899771392
chore: Deleted spaces ( #2622 )
2021-01-27 09:58:21 +08:00
Josep Jesus Bigorra Algaba
46ddd4259c
Fixes to the graceful shutdown example ( #2552 )
...
* Change error comparison to use errors.Is() and add a line of whitespace before the if statement on graceful shutdown
* Change from log.Fatalf to log.Printf to ensure the graceful shutdown actually works
Co-authored-by: J. J. Bigorra <josep@prowarehouse.nl>
Co-authored-by: thinkerou <thinkerou@gmail.com>
2021-01-13 09:06:12 +08:00
thinkerou
16cd8cdd4e
ci: romove go1.11 for gin1.7 ( #2540 )
2020-10-25 17:08:30 +08:00
Zasda Yusuf Mikail
d541085b59
Add some missing dots on README ( #2519 )
...
Signed-off-by: Zasda Yusuf Mikail <zasdaym@gmail.com>
Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-10-16 09:32:10 +08:00
yugu
1f232c7f47
docs:close the body of the response ( #2494 )
2020-09-09 20:00:44 +08:00
Dennis Cho
b860d8672d
Fix typo ( #2489 )
2020-09-02 23:15:25 +08:00
森 優太
c6d6df6d5a
Docs: Update README.md Custom Validator sample code ( #2448 )
...
Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-08-01 15:26:29 +08:00
Hiroyuki Tanaka
44e78a78d4
README: Change badge to pkg.go.dev ( #2449 )
2020-08-01 15:03:33 +08:00
Johnny Dallas
4cabdd303f
Add CustomRecovery builtin middleware ( #2322 )
...
* Add CustomRecovery and CustomRecoveryWithWriter methods
* add CustomRecovery example to README
* add test for CustomRecovery
* support RecoveryWithWriter(io.Writer, ...RecoveryFunc)
2020-07-09 09:40:00 +08:00
Miles
5f261fa752
Add a redirect sample for POST method ( #2389 )
...
* Add a redirect sample for POST method
Refer to issue https://github.com/gin-gonic/gin/issues/444
* put an empty line before 1396
Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-05-24 11:37:32 +08:00
Anup Kumar Panwar
82b284fd77
uncomment the code ( #2362 )
2020-05-08 08:50:26 +08:00
bn4t
235898e642
Fix typo ( #2358 )
2020-05-05 23:20:00 +08:00