Skip to content

Commit

Permalink
Fix issue where map fields would not be validated (#27)
Browse files Browse the repository at this point in the history
* Maps are now properly populated

* Update doc.go

* Update linter rules

* Update to go 1.21

* Add test case

* Update golangci-lint to latest version

* Update godoc
  • Loading branch information
kkyr authored Dec 10, 2023
1 parent e6b154b commit 131c377
Show file tree
Hide file tree
Showing 13 changed files with 275 additions and 161 deletions.
2 changes: 2 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ linters:
- nlreturn
- errname
- nonamedreturns
- tagalign
- depguard

issues:
exclude-rules:
Expand Down
2 changes: 1 addition & 1 deletion build/lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export CGO_ENABLED=1

if ! command -v golangci-lint &> /dev/null; then
echo "Installing golangci-lint"
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.51.0
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.55.2
fi

echo -n "Running golangci-lint: "
Expand Down
Loading

0 comments on commit 131c377

Please sign in to comment.