Skip to content

Commit 5dbfbe0

Browse files
committed
BUILD/MEDIUM: models: upgrade go-method-gen and commit changes
1 parent a86b9b2 commit 5dbfbe0

60 files changed

Lines changed: 11 additions & 117 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ SWAGGER_VERSION=v0.32.3
44
GO_VERSION:=${shell go mod edit -json | jq -r .Go}
55
GOLANGCI_LINT_VERSION=2.8.0
66
CHECK_COMMIT=5.2.0
7+
GO_METHOD_GEN_VERSION=v0.1.3
78

89
.PHONY: test
910
test:
@@ -45,7 +46,7 @@ models: gentypes spec swagger-check go-method-gen-check
4546
.PHONY: go-method-gen-check
4647
go-method-gen-check:
4748
@GO_METHOD_GEN_BIN_NAME="go-method-gen"; \
48-
GO_METHOD_GEN_GITHUB="github.com/haproxytech/go-method-gen/cmd/go-method-gen@latest"; \
49+
GO_METHOD_GEN_GITHUB="github.com/haproxytech/go-method-gen/cmd/go-method-gen@${GO_METHOD_GEN_VERSION}"; \
4950
if [ -f "$$GO_METHOD_GEN_BIN_NAME" ]; then \
5051
echo "$$GO_METHOD_GEN_BIN_NAME already installed"; \
5152
else \

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ require (
1717
github.com/google/uuid v1.6.0
1818
github.com/haproxytech/client-native/v5 v5.1.15
1919
github.com/haproxytech/go-logger v1.1.0
20-
github.com/haproxytech/go-method-gen v0.1.2
20+
github.com/haproxytech/go-method-gen v0.1.3
2121
github.com/joho/godotenv v1.5.1
2222
github.com/json-iterator/go v1.1.12
2323
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ github.com/haproxytech/client-native/v5 v5.1.15 h1:oMqyDlh+vL3yRKiaapc6SESetCIir
6868
github.com/haproxytech/client-native/v5 v5.1.15/go.mod h1:6eT7/KOsczPHFE/op1TDwfo0jQAsMffl7PuXkKJ+Mt0=
6969
github.com/haproxytech/go-logger v1.1.0 h1:HgGtYaI1ApkvbQdsm7f9AzQQoxTB7w37criTflh7IQE=
7070
github.com/haproxytech/go-logger v1.1.0/go.mod h1:OekUd8HCb7ubxMplzHUPBTHNxZmddOWfOjWclZsqIeM=
71-
github.com/haproxytech/go-method-gen v0.1.2 h1:yURATvz3j2cze7p18QBY+v0gqnU4RXOxmtoyrrNRZo4=
72-
github.com/haproxytech/go-method-gen v0.1.2/go.mod h1:3lORMBgT21FSJwyEjIF5rlcwJ1Yj2tFx8bMs8Rzf/d8=
71+
github.com/haproxytech/go-method-gen v0.1.3 h1:qT8yj3ol1KDve17yEZ9InsaBLWr/jflDsmQJPOhH4g8=
72+
github.com/haproxytech/go-method-gen v0.1.3/go.mod h1:3lORMBgT21FSJwyEjIF5rlcwJ1Yj2tFx8bMs8Rzf/d8=
7373
github.com/joho/godotenv v1.5.1 h1:7eLL/+HRGLY0ldzfGMeQkb7vMd0as4CfYvUVzLqw0N0=
7474
github.com/joho/godotenv v1.5.1/go.mod h1:f4LDr5Voq0i2e/R5DDNOoa2zzDfwtkZa6DnEwAbqwq4=
7575
github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM=

models/acl_equal_generated.go

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

models/acmeprovider_equal_generated.go

Lines changed: 0 additions & 51 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

models/backendbase_equal_generated.go

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

models/backendswitchingrule_equal_generated.go

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

models/bind_equal_generated.go

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

models/cache_equal_generated.go

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

models/capture_equal_generated.go

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)