gin-gonic-gin/binding
Flc゛ c4287b1300
ci(golangci-lint): update configuration and fix lint issues (#4247)
* ci: update golangci-lint configuration and lint settings

- Update golangci-lint to version 2
- Enable new linters and adjust existing ones
- Update lint settings across multiple test files
- Remove unused struct and variable checks
- Add new lint exclusions for generated code and specific directories

Signed-off-by: Flc <four_leaf_clover@foxmail.com>

* ci(github): update golangci-lint-action to v8 and lint version to v2.3.4

Signed-off-by: Flc <four_leaf_clover@foxmail.com>

* ci: downgrade golangci-lint to v2.1.6

Signed-off-by: Flc <four_leaf_clover@foxmail.com>

* ci(golangci): add gofumpt linter and fix related issues- Added gofumpt linter to .golangci.yml

Signed-off-by: Flc <four_leaf_clover@foxmail.com>

* test: ignore testifylint and gofumpt lints in specific test cases

Signed-off-by: Flc <four_leaf_clover@foxmail.com>

* build(deps): remove golang.org/x/lint

- Remove golang.org/x/lint package from go.mod
- Update related dependencies in go.sum

Signed-off-by: flc1125 <four_leaf_clover@foxmail.com>

* build(deps): downgrade golang.org/x/mod and golang.org/x/tools

- Downgrade golang.org/x/mod from v0.24.0 to v0.18.0
- Downgrade golang.org/x/tools from v0.33.0 to v.22.0

These changes are made to address compatibility issues with the current project setup.

Signed-off-by: flc1125 <four_leaf_clover@foxmail.com>

---------

Signed-off-by: Flc <four_leaf_clover@foxmail.com>
Signed-off-by: flc1125 <four_leaf_clover@foxmail.com>
2025-05-23 14:46:48 +08:00
..
binding_msgpack_test.go ci(lint): enable usestdlibvars linter (#4091) 2024-11-15 23:52:16 +08:00
binding_nomsgpack.go feat(binding): add BindPlain (#3904) 2024-05-13 11:11:56 +08:00
binding_test.go ci(golangci-lint): update configuration and fix lint issues (#4247) 2025-05-23 14:46:48 +08:00
binding.go feat(binding): add BindPlain (#3904) 2024-05-13 11:11:56 +08:00
default_validator_benchmark_test.go refactor(slice): simplify SliceValidationError Error method (#3910) 2024-05-13 13:32:46 +08:00
default_validator_test.go ci(golangci-lint): update configuration and fix lint issues (#4247) 2025-05-23 14:46:48 +08:00
default_validator.go refactor(slice): simplify SliceValidationError Error method (#3910) 2024-05-13 13:32:46 +08:00
form_mapping_benchmark_test.go chore: update go.mod and remove space from copyright (#3158) 2022-05-28 10:42:28 +08:00
form_mapping_test.go ci(golangci-lint): update configuration and fix lint issues (#4247) 2025-05-23 14:46:48 +08:00
form_mapping.go Revert "fix(time): binding time with empty value (#4103)" (#4245) 2025-05-22 19:20:04 +08:00
form.go ci(golangci-lint): update configuration and fix lint issues (#4247) 2025-05-23 14:46:48 +08:00
header.go ci(golangci-lint): update configuration and fix lint issues (#4247) 2025-05-23 14:46:48 +08:00
json_test.go Allow bind with a map[string]string (#2484) 2020-10-31 07:20:47 +08:00
json.go chore: support min go version 1.18 (#3511) 2023-03-01 10:03:48 +08:00
msgpack_test.go chore: support min go version 1.18 (#3511) 2023-03-01 10:03:48 +08:00
msgpack.go chore: support min go version 1.18 (#3511) 2023-03-01 10:03:48 +08:00
multipart_form_mapping_test.go ci(lint): enable usestdlibvars linter (#4091) 2024-11-15 23:52:16 +08:00
multipart_form_mapping.go chore: update go.mod and remove space from copyright (#3158) 2022-05-28 10:42:28 +08:00
plain.go feat(binding): add BindPlain (#3904) 2024-05-13 11:11:56 +08:00
protobuf.go docs: fix comment (#4205) 2025-04-12 00:00:59 +08:00
query.go Revert "fix(uri): query binding bug (#3236)" (#3899) 2024-03-22 10:01:27 +08:00
toml_test.go [GIN-001] - Add TOML bining for gin (#3081) 2022-05-28 08:34:43 +08:00
toml.go fix(binding): prevent duplicate decoding and add validation in decodeToml (#4193) 2025-03-20 23:35:49 +08:00
uri.go add v1.8.0 changelog (#3160) 2022-05-30 15:16:10 +08:00
validate_test.go ci(golangci-lint): update configuration and fix lint issues (#4247) 2025-05-23 14:46:48 +08:00
xml_test.go Relocate binding body tests (#2086) 2019-10-10 16:58:31 +08:00
xml.go ci(golangci-lint): update configuration and fix lint issues (#4247) 2025-05-23 14:46:48 +08:00
yaml_test.go Relocate binding body tests (#2086) 2019-10-10 16:58:31 +08:00
yaml.go chore(yaml): upgrade dependency to v3 version (#3456) 2023-01-02 12:40:48 +08:00