Commit Graph
100 Commits
Author SHA1 Message Date
thinkerou c9b27249fb chore(yaml): upgrade dependency to v3 version (#3456)
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
2023-01-02 12:40:48 +08:00
thinkerou 82e1c53cc0 docs(readme): move more example to docs/doc.md (#3449) 2023-01-02 10:40:25 +08:00
thinkerou 8b9c55e8b0 fix(route): redirectSlash bug (#3227)
fixes https://github.com/gin-gonic/gin/issues/2959
fixes https://github.com/gin-gonic/gin/issues/2282
fixes https://github.com/gin-gonic/gin/issues/2211
2022-11-06 17:02:40 +08:00
thinkerou b04917c53e chore: upgrade golangci-lint and fix golangci-lint error (#3278) 2022-08-15 21:38:20 +08:00
thinkerou 6de2245e62 switch min version of go to 1.15 (#3211) 2022-06-27 07:11:41 +08:00
thinkerou 38eb5acc6b add v1.8.0 changelog (#3160) 2022-05-30 15:16:10 +08:00
thinkerouanddependabot[bot] 4b68a5f12a chore: update go.mod and remove space from copyright (#3158)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-28 10:42:28 +08:00
thinkerou 62265c893c chore: support min version of go: 1.14 (#2964) 2022-03-21 10:51:17 +08:00
thinkerou 2bde107686 test support go1.18 (#2990) 2022-03-21 09:43:17 +08:00
thinkerou fcd36c549d fix: test error (#3087) 2022-03-18 11:55:25 +08:00
thinkerou 87e40d6b15 feat: fix lint error (#3050) 2022-02-07 23:15:44 +08:00
thinkerou e4c026e2a1 Fix go1.17 test error (#2856) 2021-09-06 08:10:06 +08:00
thinkerou 77649bcfee support Go v1.16 version (#2638) 2021-04-21 07:38:54 +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
thinkerou 51c7d001e0 bump to v1.7.1 (#2678) 2021-04-09 07:38:13 +08:00
thinkerou ed6f85c478 build: convert to go:build directives (#2664) 2021-03-27 09:09:44 +08:00
thinkerou a28cc088b5 Revert "Adding ppc64le architecture support on travis-ci (#2538)" (#2602) 2021-01-10 23:51:02 +08:00
thinkerouandBo-Yi Wu a573ec6a37 chore: update tree (#2371)
Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-01-03 21:34:11 +08:00
thinkerou 3b5e861bb1 fix compile error from #2572 (#2600) 2021-01-03 21:14:56 +08:00
thinkerou 16cd8cdd4e ci: romove go1.11 for gin1.7 (#2540) 2020-10-25 17:08:30 +08:00
thinkerouandBo-Yi Wu 2773ce6e60 add copyright (#2388)
Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-05-23 22:52:01 +08:00
thinkerou 1d5b9badd9 chore: rename getQueryCache/getFormCache to initQueryCache/initFormCache (#2375) 2020-05-14 11:35:14 +08:00
thinkerou 747efffd2a chore: update godoc address (#2357) 2020-05-05 14:06:42 +08:00
thinkerou 6ac7f194c4 chore: update some code style (#2356) 2020-05-05 13:55:57 +08:00
thinkerou 54175dbe72 chore: update the result of CR (#2354)
* chore: update the result of CR

* Update utils.go

* Update utils.go

* Update context.go

* Update context.go
2020-05-04 11:40:41 +08:00
thinkerou bd5ee1aae2 doc: add pr link (#2298)
* doc: add pr link

* doc: add v1.6.1 release note
2020-03-24 22:49:34 +08:00
thinkerou 094b3fdb39 ci support go1.14 (#2262) 2020-02-26 10:27:03 +08:00
thinkerou 0d12918b0a chore: upgrade depend version (#2231) 2020-02-13 20:23:29 +08:00
thinkerou acac7b1210 tree: range over nodes values (#2229) 2020-02-09 10:46:22 +08:00
thinkerou d6143d8d7c tree: remove one else statement (#2177) 2019-12-18 16:58:38 +08:00
thinkerou 168fa94516 tree: sync httprouter update (#2173) 2019-12-09 15:04:35 +08:00
thinkerou 6e16da8683 tree: sync httprouter update (#2172) 2019-12-08 19:34:05 +08:00
thinkerou c6544855d7 tree: sync httprouter update (#2171) 2019-12-08 18:35:08 +08:00
thinkerou 7c21e04f62 fix maxParams bug (#2166) 2019-12-04 07:56:01 +08:00
thinkerou 3abc96e3cd tree: sync part httprouter codes and reduce if/else (#2163) 2019-12-01 19:53:03 +08:00
thinkerou d5f12ac6d7 use http method constant (#2155)
* use http method constant

* fix typo
2019-11-29 07:50:49 +08:00
thinkerou 3c8e29b53c drop support govendor (#2148) 2019-11-25 15:42:23 +08:00
thinkerou 2ee0e96394 Drop support go1.10 (#2147) 2019-11-24 23:07:56 +08:00
thinkerouandDominik-K 15ced05c53 ready to release v1.5.0 (#2109)
* ready to release v1.5.0

* add some commit log

* Update CHANGELOG.md

Co-Authored-By: Dominik-K <dominik-k@mailbox.org>

* Update CHANGELOG.md

Co-Authored-By: Dominik-K <dominik-k@mailbox.org>

* Update CHANGELOG.md

Co-Authored-By: Dominik-K <dominik-k@mailbox.org>

* Update CHANGELOG.md

Co-Authored-By: Dominik-K <dominik-k@mailbox.org>

* Update CHANGELOG.md

Co-Authored-By: Dominik-K <dominik-k@mailbox.org>

* Update CHANGELOG.md

Co-Authored-By: Dominik-K <dominik-k@mailbox.org>

* Update CHANGELOG.md

Co-Authored-By: Dominik-K <dominik-k@mailbox.org>

* Update CHANGELOG.md

Co-Authored-By: Dominik-K <dominik-k@mailbox.org>

* Update CHANGELOG.md

Co-Authored-By: Dominik-K <dominik-k@mailbox.org>

* Update CHANGELOG.md

Co-Authored-By: Dominik-K <dominik-k@mailbox.org>

* Update CHANGELOG.md

Co-Authored-By: Dominik-K <dominik-k@mailbox.org>

* Update CHANGELOG.md

Co-Authored-By: Dominik-K <dominik-k@mailbox.org>

* Update CHANGELOG.md

Co-Authored-By: Dominik-K <dominik-k@mailbox.org>

* remove refactor and update readme pr
2019-11-24 10:25:21 +08:00
thinkerou 0b96dd8ae5 chore: remove env var for go master branch (#2056) 2019-09-22 15:35:34 +08:00
thinkerou 1acb3fb30a upgrade validator version to v9 (#1015)
* upgrade validator version to v9

* Update vendor.json

* Update go.mod

* Update go.sum

* fix

* fix

* fix bug

* Update binding_test.go

* Update validate_test.go

* Update go.sum

* Update go.mod

* Update go.sum

* Update go.mod

* Update go.sum
2019-09-05 21:39:56 +08:00
thinkerou c3f7fc399a chore: support go1.13 (#2038)
* chore: support go1.13

* chore: remove env var for go1.13
2019-09-04 12:26:50 +08:00
thinkerou 0349de518b upgrade github.com/ugorji/go/codec (#1969) 2019-07-10 06:20:20 +08:00
thinkerou 3f53a58d4a Add user case: brigade (#1937) 2019-06-29 00:09:53 +08:00
田欧 75b9d2bed7 Attempt to fix PostForm cache bug (#1931) 2019-06-12 21:07:15 +08:00
田欧 73c4633943 use context instead of x/net/context (#1922) 2019-06-03 22:52:33 +08:00
田欧 bfecd88fc4 use sse v0.1.0 (#1923) 2019-06-03 22:42:25 +08:00
田欧 965d74cebb add dev version (#1886)
* add dev version

* Update version.go

* Update version.go
2019-05-12 18:47:27 +08:00
田欧 5a7e3095b2 Update README.md about go version (#1885) 2019-05-08 11:10:34 +08:00
田欧 b75d67cd51 update vendor: ugorji/go (#1879)
* update vendor: ugorji/go

* fix
2019-05-07 19:43:05 +08:00
田欧 1d462bbe37 chore: update ginS (#1822) 2019-03-21 15:12:06 +08:00
田欧 0c1f3c4e81 chore: fix invalid link (#1820) 2019-03-20 12:07:34 +08:00
田欧 cab0749b4f chore: update readme (#1793)
* update readme

* add multi-language version doc link

* add multi-language version doc link

* update readme

* update

* update readme

* update readme

* update readme
2019-03-14 13:23:35 +08:00
田欧 e5261480fd chore(readme.md): fix invalid link (#1807) 2019-03-12 14:01:12 +08:00
田欧 70a0aba3e4 travisci: use go module when go11+ (#1800) 2019-03-08 23:18:52 +08:00
田欧 a5dda62cdc chore: use internal/json (#1791) 2019-03-05 06:46:18 +08:00
田欧 df366c7840 chore: update go mod package (#1792) 2019-03-04 07:28:03 +08:00
田欧 8c8002d744 chore: add examples repo link to README (#1788) 2019-03-02 19:21:10 +08:00
田欧 0feaf8cbd8 Split examples to alone repo (#1776)
* split examples to alone repo

* vendor

* fix package error

* add examples/README.md
2019-03-01 23:42:41 +08:00
田欧 9bacadd3ea remove docs dir (#1786)
the post doc move https://gin-gonic.com/blog/
2019-03-01 07:11:02 +08:00
田欧 d6adc8d0cc chore: add go1.12 support (#1780)
* chore: add go1.12 support

* Update .travis.yml
2019-02-26 10:45:44 +08:00
田欧 e6886e1539 chore: fix Make script when failed (#1774) 2019-02-21 20:32:55 +08:00
田欧 d27685e714 chore: attempt to fix some gomod issue (#1751)
#1604 #1566 #1700 #1737 

because some dependencies only are used on example i.e. grpc.

Or migrate `examples` to gin-gonic/examples`?
2019-01-26 02:28:39 +08:00
thinkerou 29a145c85d Revert "context: inherits context cancelation and deadline from http.Request context for Go>=1.7 (#1690)" (#1736)
This reverts commit f67d7a90c4.
2019-01-09 09:32:44 +08:00
thinkerou 0bfc9cbcdb ci: exit 1 when build fail (#1695)
Like this:

```
FAIL	github.com/gin-gonic/gin [build failed]
```
2018-12-26 00:27:46 +08:00
thinkerou 1b34e8e8de chore: attemp to fix #1700 (#1707) 2018-12-25 23:40:11 +08:00
thinkerou 59695e7ba8 Add BindUri (#1694)
* add BindUri

* fix bug

* fix code style
2018-12-12 23:40:29 +08:00
thinkerou cce49582d6 ci: break when test fail (#1671) 2018-12-05 13:49:03 +08:00
thinkerou 98c7ac7202 fix bug (#1682) 2018-12-05 13:36:49 +08:00
thinkerou f463d847c2 chore: fix test fail (#1669)
* chore: fix test fail

* fix binduri test fail
2018-12-05 05:58:35 +08:00
thinkerou 54e9610400 chore: remove wercker yml file (#1676)
Now the `wercker.yml` have no longer used.
2018-12-05 02:02:03 +08:00
thinkerou 149ef75cdd doc: remove README_ZH.md (#1667) 2018-11-26 21:05:54 +08:00
thinkerou 687d8b9ac6 add picfit to gin user list (#1661)
agreed with the project's author.
cc @thoas
thanks!
2018-11-25 20:52:46 +08:00
thinkerou 331af2219c add krakend to gin user list (#1658) 2018-11-24 13:49:26 +01:00
thinkerou 521d06c81d support bind uri param (#1612)
* support bind uri (1)

* uri binding successful run

* fix vet warning: github.com/gin-gonic/gin/internal.Param composite literal uses unkeyed fields

* fix code style

* update function name

* fix test function signature

* add test for CanSet

* update readme and add test case

* remove internal.Params

* add coverage

* fix warning
2018-11-22 09:29:48 +08:00
thinkerou 7ec82ee894 recovery: fix issue about syscall import on google app engine (#1640)
* recovery: fix issue about syscall import on google app engine

* add ToLower()

* the whole error message
2018-11-22 09:17:44 +08:00
田欧 a1a32562de add gin user - photoprism (#1601) 2018-10-19 11:06:23 +08:00
田欧 524757b81c vendor: upgrade some dependency package version (#1596)
ref https://github.com/gin-gonic/gin/pull/1569#issuecomment-429731722
2018-10-15 20:24:32 +08:00
田欧 98082fd590 document: add docs dir and middleware document (#1521)
* init docs dir

* add middleware document

* fix indent

* update docs
2018-10-15 13:01:44 +08:00
田欧 523435e524 attempt to support go module (#1569)
* support go module

* update golint package url

* update golint
2018-10-15 12:52:51 +08:00
田欧 b7314d943c chore: fix debug test error (#1574) 2018-09-27 09:42:41 +08:00
田欧 834a2ec64c feat: add go version judge when print debug warning log (#1572)
* feat: add go version judge when print debug warning log

* remove invalid statement

* use one const
2018-09-26 13:49:11 +08:00
田欧 b02e4f2ed6 ci: fast finish when build failed (#1568) 2018-09-25 21:52:21 +08:00
田欧 5a75dc7127 add release badge for readme (#1533) 2018-09-22 11:37:28 +08:00
田欧 a210eea3bd improve panic information when a catch-all wildcard conflict occurs (#1529) 2018-09-21 10:21:59 +08:00
田欧 f2cd3fcb2a chore: fix typo and add a little anotation (#1562) 2018-09-20 11:53:58 +08:00
田欧 b27b7026c7 chore: add a version file includes gin version (#1549)
* chore: add a version file includes gin version

* update version for dev version
2018-09-17 15:08:11 +08:00
田欧 7c7f703cc5 initial go.mod module definition (#1554) 2018-09-16 23:22:54 +08:00
田欧 6db092f778 chore: add some annotations (#1550)
ref #1075 should all annotations and can close #1075 .
2018-09-15 15:21:54 +08:00
田欧 d510595aa5 chore: add some annotations (#1544)
ref: #1075 
because I am not a native English, maybe have a bit problem.
2018-09-15 10:23:32 +08:00
田欧 705e199298 chore: update issue_implate (#1524) 2018-09-01 00:40:33 +08:00
田欧 7451a402bb chore: update vendor version (#1520)
#1491 adds some lib when upgrade json-iterator but it is not needed, and use `v1.1.5` not `1.1.5` version for json-iterator.
2018-08-30 23:36:53 +08:00
田欧 72db8acd99 add internal package which includes json package (#1504) 2018-08-30 19:04:03 +08:00
田欧 85f3e78abc chore: remove else instead of return/continue (#1502)
As[ Effective Go](https://golang.org/doc/effective_go.html?#if) about `if` said, remove else statement instead of return/continue statement.
2018-08-20 21:49:24 +08:00
田欧 b7bb9baa64 chore: add missing copyright and update if/else (#1497) 2018-08-19 22:52:43 +08:00
田欧 32b58e0fd2 render: update msgpack usage (#1498)
please see msgpack usage: https://github.com/ugorji/go/tree/master/codec#usage
2018-08-19 22:14:02 +08:00
田欧 6073a79ee0 not use protobuf on context but use it on render (#1496) 2018-08-19 17:39:58 +08:00
田欧 bef6c56c89 chore: upgrade dependency library version (#1491)
upgrade lib version, and upgrade `github.com/json-iterator/go` to add two libs.
2018-08-16 17:38:17 +08:00
田欧 6c8a973134 add issue and pull request template explain (#1483)
* add issue/pr template explain

* add issue/pr template explain
2018-08-14 11:35:13 +08:00
田欧 f45c928a15 chore: use http.Status* instead of hard code (#1482) 2018-08-14 09:51:56 +08:00