Bo-Yi Wu
aa17ccf831
chore: refactor Lint Configuration for Go Project
...
- Remove `deadcode`, `depguard`, `structcheck`, and `varcheck` linters from the `.golangci.yml` configuration
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2024-02-17 16:07:48 +08:00
Bo-Yi Wu
2958f15884
chore: update dependencies and Go version
...
- Update Go version requirement from `1.15` to `1.18`
- Upgrade `github.com/gin-gonic/gin` dependency from `v1.8.1` to `v1.9.1`
- Upgrade `github.com/stretchr/testify` dependency from `v1.8.0` to `v1.8.4`
- Add multiple new indirect dependencies including `github.com/bytedance/sonic`, `github.com/chenzhuoyu/base64x`, and others
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2024-02-14 12:36:40 +08:00
Bo-Yi Wu
9e163ee30e
ci: update Go versions and CI workflows
...
- Update supported Go versions in GitHub Actions workflow to 1.18, 1.19, "1.20", 1.21, and 1.22, removing older versions 1.14, 1.15, 1.16, and 1.17
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2024-02-14 12:35:50 +08:00
Bo-Yi Wu
670c639d75
ci: update CI workflows and dependencies
...
- Standardize cron syntax to use double quotes in codeql.yml
- Update CodeQL action to version 3 in codeql.yml
- Standardize Go version syntax to use double quotes in go.yml
- Update golangci-lint-action to version 4 in go.yml
- Update actions/cache to version 4 in go.yml
- Update codecov-action to version 4 in go.yml
- Standardize wildcard syntax to use double quotes in goreleaser.yml
- Remove unnecessary newlines in goreleaser.yml
- Update Go version to use semver range in goreleaser.yml
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2024-02-14 12:35:16 +08:00
Bo-Yi Wu
1ff8cd13f7
chore: update GitHub actions and dependencies
...
- Update the GitHub codeql-action/init from v2 to v3
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2023-12-30 09:34:47 +08:00
Bo-Yi Wu
eaf6a9f6ef
chore: update GitHub Actions versions in workflow files
...
- Update the version of `actions/checkout` from v3 to v4 in `.github/workflows/codeql.yml`
- Update the version of `actions/setup-go` from v3 to v5 in `.github/workflows/go.yml`
- Update the version of `actions/checkout` from v3 to v4 in `.github/workflows/go.yml`
- Update the version of `actions/setup-go` from v3 to v5 in `.github/workflows/go.yml`
- Update the version of `actions/checkout` from v3 to v4 in `.github/workflows/goreleaser.yml`
- Update the version of `actions/setup-go` from v2 to v5 in `.github/workflows/goreleaser.yml`
- Update the version of `goreleaser/goreleaser-action` from v3 to v5 in `.github/workflows/goreleaser.yml`
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2023-12-11 21:37:53 +08:00
Bo-Yi.Wu
6f6aff627d
chore(CI): add go1.20 version
...
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
2023-02-12 09:24:09 +08:00
Bo-Yi.Wu
3035101e24
chore: Add go 1.19 and upgrade lint version to v1.49
...
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
2022-08-29 21:17:51 +08:00
thinkerou
1e2ad02192
Merge pull request #39 from ianlyons/patch-1
...
Fix example link in README.md
2022-08-24 09:28:19 +08:00
ian lyons
e87c665885
Fix example link in README.md
2022-08-23 17:23:00 -04:00
thinkerou
efaf9c28b2
Merge pull request #37 from gin-contrib/dependabot/go_modules/github.com/stretchr/testify-1.8.0
...
chore(deps): bump github.com/stretchr/testify from 1.7.5 to 1.8.0
2022-07-05 09:57:08 +08:00
dependabot[bot]
97f093707c
chore(deps): bump github.com/stretchr/testify from 1.7.5 to 1.8.0
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.7.5 to 1.8.0.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.7.5...v1.8.0 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-07-04 20:07:01 +00:00
thinkerou
dbe4f68231
Merge pull request #36 from gin-contrib/dependabot/go_modules/github.com/stretchr/testify-1.7.5
...
chore(deps): bump github.com/stretchr/testify from 1.7.3 to 1.7.5
2022-06-28 10:44:11 +08:00
dependabot[bot]
e1129d3099
chore(deps): bump github.com/stretchr/testify from 1.7.3 to 1.7.5
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.7.3 to 1.7.5.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.7.3...v1.7.5 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-27 20:12:48 +00:00
thinkerou
90ad3591fa
Merge pull request #35 from gin-contrib/dependabot/go_modules/github.com/stretchr/testify-1.7.3
...
chore(deps): bump github.com/stretchr/testify from 1.7.2 to 1.7.3
2022-06-26 21:07:16 +08:00
dependabot[bot]
f17fd9571a
chore(deps): bump github.com/stretchr/testify from 1.7.2 to 1.7.3
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.7.2 to 1.7.3.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.7.2...v1.7.3 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-20 20:12:27 +00:00
thinkerou
ae09b2ea7e
Merge pull request #33 from gin-contrib/dependabot/go_modules/github.com/stretchr/testify-1.7.2
...
chore(deps): bump github.com/stretchr/testify from 1.7.1 to 1.7.2
2022-06-07 07:54:26 +08:00
dependabot[bot]
0faa4fd5d1
chore(deps): bump github.com/stretchr/testify from 1.7.1 to 1.7.2
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.7.1 to 1.7.2.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.7.1...v1.7.2 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 23:53:36 +00:00
thinkerou
eac955bc8e
Merge pull request #34 from gin-contrib/dependabot/go_modules/github.com/gin-gonic/gin-1.8.1
...
chore(deps): bump github.com/gin-gonic/gin from 1.8.0 to 1.8.1
2022-06-07 07:53:13 +08:00
dependabot[bot]
8f793dc621
chore(deps): bump github.com/gin-gonic/gin from 1.8.0 to 1.8.1
...
Bumps [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin ) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/gin-gonic/gin/releases )
- [Changelog](https://github.com/gin-gonic/gin/blob/master/CHANGELOG.md )
- [Commits](https://github.com/gin-gonic/gin/compare/v1.8.0...v1.8.1 )
---
updated-dependencies:
- dependency-name: github.com/gin-gonic/gin
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 20:08:20 +00:00
thinkerou
730373a695
Merge pull request #32 from gin-contrib/dependabot/go_modules/github.com/gin-gonic/gin-1.8.0
...
chore(deps): bump github.com/gin-gonic/gin from 1.7.7 to 1.8.0
2022-05-31 07:27:15 +08:00
dependabot[bot]
2374c7ca4a
chore(deps): bump github.com/gin-gonic/gin from 1.7.7 to 1.8.0
...
Bumps [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin ) from 1.7.7 to 1.8.0.
- [Release notes](https://github.com/gin-gonic/gin/releases )
- [Changelog](https://github.com/gin-gonic/gin/blob/master/CHANGELOG.md )
- [Commits](https://github.com/gin-gonic/gin/compare/v1.7.7...v1.8.0 )
---
updated-dependencies:
- dependency-name: github.com/gin-gonic/gin
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-30 20:17:27 +00:00
thinkerou
6787702b58
Merge pull request #31 from gin-contrib/dependabot/github_actions/goreleaser/goreleaser-action-3
...
chore(deps): bump goreleaser/goreleaser-action from 2 to 3
2022-05-24 08:24:00 +08:00
dependabot[bot]
48072376d4
chore(deps): bump goreleaser/goreleaser-action from 2 to 3
...
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action ) from 2 to 3.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases )
- [Commits](https://github.com/goreleaser/goreleaser-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-23 20:50:35 +00:00
Bo-Yi Wu
42d57cf75a
chore(CD): enable goreleaser config.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2022-05-01 17:11:15 +08:00
thinkerou
5e009286d8
Merge pull request #29 from gin-contrib/dependabot/go_modules/github.com/gin-gonic/gin-1.7.7
...
chore(deps): bump github.com/gin-gonic/gin from 1.7.4 to 1.7.7
2022-04-30 09:22:45 +08:00
dependabot[bot]
7caa1c1238
chore(deps): bump github.com/gin-gonic/gin from 1.7.4 to 1.7.7
...
Bumps [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin ) from 1.7.4 to 1.7.7.
- [Release notes](https://github.com/gin-gonic/gin/releases )
- [Changelog](https://github.com/gin-gonic/gin/blob/master/CHANGELOG.md )
- [Commits](https://github.com/gin-gonic/gin/compare/v1.7.4...v1.7.7 )
---
updated-dependencies:
- dependency-name: github.com/gin-gonic/gin
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-30 01:20:56 +00:00
thinkerou
f071c1a20b
Merge pull request #30 from gin-contrib/dependabot/go_modules/github.com/stretchr/testify-1.7.1
...
chore(deps): bump github.com/stretchr/testify from 1.7.0 to 1.7.1
2022-04-30 09:20:25 +08:00
thinkerou
60e123df3c
Merge pull request #26 from gin-contrib/dependabot/github_actions/github/codeql-action-2
...
chore(deps): bump github/codeql-action from 1 to 2
2022-04-29 15:18:19 +08:00
dependabot[bot]
03995b8759
chore(deps): bump github/codeql-action from 1 to 2
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 1 to 2.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-27 08:56:50 +00:00
Bo-Yi Wu
61acef3df7
chore(github): upgrade action package.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2022-04-27 16:56:02 +08:00
dependabot[bot]
1d0cf2cb38
chore(deps): bump github.com/stretchr/testify from 1.7.0 to 1.7.1
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.7.0...v1.7.1 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-27 08:37:01 +00:00
Bo-Yi Wu
5d022b2f98
chore(CI/CD): add dependabot
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2022-04-27 16:36:09 +08:00
Bo-Yi Wu
256d14cb14
chore(CI/CD): remove macos-latest testing
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2022-03-23 17:06:39 +08:00
Bo-Yi Wu
e54fe285d8
chore: upgrade checkout version to v3
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2022-03-18 09:30:05 +08:00
Bo-Yi Wu
ec0f82bce4
feat(CodeQL): Discover vulnerabilities across a codebase with CodeQL
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2022-02-04 07:50:15 +08:00
Bo-Yi Wu
7756450638
chore(lint): add golang lint config
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2022-01-02 14:21:40 +08:00
Bo-Yi Wu
0b63c38653
chore(lint): upgrade /golangci-lint to v1.43.0
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2022-01-02 14:00:51 +08:00
Bo-Yi Wu
8fc67cac55
docs: add github actions badge
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-10-02 21:10:58 +08:00
Bo-Yi Wu
268e78866a
chore: fix lint
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-10-02 21:08:24 +08:00
Bo-Yi Wu
95ad8995a1
chore: update gin to v1.7.4
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-10-02 21:06:34 +08:00
Bo-Yi Wu
dfd14e7649
chore: switch travis to github actions.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-10-02 20:45:43 +08:00
Bo-Yi Wu
18020fa554
chore: rename example to _example
2021-04-04 06:07:43 +08:00
Bo-Yi Wu
6e07f2cd9a
chore: add go1.16 version
2021-04-04 06:04:58 +08:00
Bo-Yi Wu
d45d9a37d2
chore: upgrade travis config format
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-09-16 16:04:30 +08:00
thinkerou
31fb0c56a3
chore: add go1.15.x and remove go1.10.x
2020-08-15 18:39:39 +08:00
Bo-Yi Wu
f81c604d8a
chore: upgrade gin to v1.5.0
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2019-11-28 11:17:02 +08:00
thinkerou
df30d4057b
remove go1.8&1.9 and support go1.13
2019-09-13 20:52:43 +08:00
田欧
c1cdf9c9ec
Merge pull request #13 from solarhell/master
...
Fix go module issue.
2019-05-11 20:47:41 +08:00
solarhell
20e184b53d
Fix go module issue.
2019-05-09 15:18:12 +08:00