feat: add validation of ClientConfig fields for improved data integrity (#5)

* feat: add validation of ClientConfig fields for improved data integrity

* chore: add tests for client config validation
This commit is contained in:
Mateusz Filipowicz
2025-02-09 04:21:15 +01:00
committed by GitHub
parent e99645cf93
commit c7e81e2b18
5 changed files with 188 additions and 8 deletions

4
go.mod
View File

@@ -5,6 +5,9 @@ go 1.23
toolchain go1.23.5
require (
github.com/go-playground/locales v0.14.1
github.com/go-playground/universal-translator v0.18.1
github.com/go-playground/validator/v10 v10.24.0
github.com/golangci/golangci-lint v1.63.4
github.com/goreleaser/goreleaser v1.26.2
github.com/hashicorp/go-version v1.7.0
@@ -283,6 +286,7 @@ require (
github.com/ldez/grignotin v0.7.0 // indirect
github.com/ldez/tagliatelle v0.7.1 // indirect
github.com/ldez/usetesting v0.4.2 // indirect
github.com/leodido/go-urn v1.4.0 // indirect
github.com/leonklingele/grouper v1.1.2 // indirect
github.com/letsencrypt/boulder v0.0.0-20231026200631-000cd05d5491 // indirect
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect