Commit Graph

359 Commits

Author SHA1 Message Date
Meng Zhuo
64ead9e6bd
docs(readme): replace godoc with pkg (#3985)
* Update README.md
2024-06-06 17:10:03 +08:00
crunchyfrog
a569ed8f26
docs(readme): fix language and moved link (#3962)
* Update README.md

* more fixes & fix moved link
2024-05-13 11:12:55 +08:00
Bo-Yi Wu
7e298066ba
build: update Gin minimum Go version to 1.21 (#3960)
* build: update Gin minimum Go version to 1.21

- Update the minimum Go version requirement for Gin from `1.20` to `1.21` in both `debug.go` and `debug_test.go`
- Modify the warning message to reflect the new minimum Go version requirement in `debug.go`
- Adjust the test assertion to match the updated warning message in `debug_test.go`

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* docs: refine project documentation and CI configurations

- Update supported Go versions for GitHub actions to `1.21` and `1.22`
- Specify the required Go version as `1.21` or above in README
- Change code block syntax to `sh` in installation and demo run instructions
- Remove empty lines in README sections
- Update project list formatting without changing the content

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

---------

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2024-05-09 13:45:03 +08:00
Bo-Yi Wu
757a638b7b
chore: improve linting, testing, and GitHub Actions setup (#3583)
- Update golangci-lint version from `v1.48.0` to `v1.52.2`
- Remove Gitter notifications from GitHub Actions workflow
- Add gosec linter settings and include specific rules
- Exclude revive linter for test files
- Remove Gitter badge from README.md
- Delete codecov.yml file
- Change function parameter name in fs.go
- Remove unused parameter in defaultHandleRecovery function

Signed-off-by: appleboy <appleboy.tw@gmail.com>
2023-04-26 14:13:56 +08:00
thinkerou
1e1f0b1e76
chore: support min go version 1.18 (#3511)
* chore: min go version 1.18

* fix build tag error

* remove build tag

* fix word

* remove any.go

* replace interface{} instead of any
2023-03-01 10:03:48 +08:00
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