diff --git a/.github/linters/.yaml-lint.yml b/.github/linters/.yaml-lint.yml new file mode 100644 index 0000000..32ff17d --- /dev/null +++ b/.github/linters/.yaml-lint.yml @@ -0,0 +1,9 @@ +# Extends the default yamllint config by adjusting some options. +extends: default + +rules: + comments-indentation: disable + line-length: + level: warning + allow-non-breakable-inline-mappings: true + truthy: disable diff --git a/.github/workflows/add-labels-standardized.yaml b/.github/workflows/add-labels-standardized.yaml index c20a712..50687a5 100644 --- a/.github/workflows/add-labels-standardized.yaml +++ b/.github/workflows/add-labels-standardized.yaml @@ -1,4 +1,4 @@ -name: 'add labels standardized' +name: add labels standardized on: issues: @@ -6,10 +6,11 @@ on: - opened - reopened +permissions: + issues: write + jobs: add-issue-labels: - permissions: - issues: write secrets: ORG_MEMBERSHIP_TOKEN: ${{ secrets.ORG_MEMBERSHIP_TOKEN }} SENZING_MEMBERS: ${{ secrets.SENZING_MEMBERS }} diff --git a/.github/workflows/add-to-project-garage-dependabot.yaml b/.github/workflows/add-to-project-garage-dependabot.yaml index 91cb367..99b12a0 100644 --- a/.github/workflows/add-to-project-garage-dependabot.yaml +++ b/.github/workflows/add-to-project-garage-dependabot.yaml @@ -1,21 +1,16 @@ -name: add-to-project-garage-dependabot.yaml +name: add to project garage dependabot + on: pull_request: - types: - - opened - - reopened -env: - CREATOR: ${{ github.event.pull_request.user.login }} + branches: [main] + +permissions: + repository-projects: write + jobs: - add-to-project: - name: Add dependabot pull request to project - runs-on: ubuntu-latest - steps: - - name: Assign pull request to project - env: - BOOL: ${{ contains( env.CREATOR, 'dependabot' ) }} - if: ${{ env.BOOL == 'true' }} - uses: actions/add-to-project@v0.5.0 - with: - project-url: https://github.com/orgs/senzing-garage/projects/3 - github-token: ${{ secrets.SENZING_GITHUB_ACCESS_TOKEN }} + add-to-project-dependabot: + secrets: + SENZING_GITHUB_PROJECT_RW_TOKEN: ${{ secrets.SENZING_GITHUB_PROJECT_RW_TOKEN }} + uses: senzing-factory/build-resources/.github/workflows/add-to-project-dependabot.yaml@v1 + with: + project: ${{ vars.SENZING_PROJECT_GARAGE }} diff --git a/.github/workflows/add-to-project-garage.yaml b/.github/workflows/add-to-project-garage.yaml index 4599e4e..1abad01 100644 --- a/.github/workflows/add-to-project-garage.yaml +++ b/.github/workflows/add-to-project-garage.yaml @@ -1,16 +1,20 @@ -name: add-to-project-garage.yaml +name: add to project garage + on: issues: types: - - reopened - opened + - reopened + +permissions: + repository-projects: write + jobs: add-to-project: - name: Add issue to project - runs-on: ubuntu-latest - steps: - - name: Assign issue to project - uses: actions/add-to-project@v0.5.0 - with: - project-url: https://github.com/orgs/senzing-garage/projects/3 - github-token: ${{ secrets.SENZING_GITHUB_ACCESS_TOKEN }} + secrets: + SENZING_GITHUB_PROJECT_RW_TOKEN: ${{ secrets.SENZING_GITHUB_PROJECT_RW_TOKEN }} + uses: senzing-factory/build-resources/.github/workflows/add-to-project.yaml@v1 + with: + classic: false + project-number: ${{ vars.SENZING_PROJECT_GARAGE }} + org: ${{ vars.SENZING_GITHUB_ACCOUNT_NAME }} diff --git a/.github/workflows/dependabot-approve-and-merge.yaml b/.github/workflows/dependabot-approve-and-merge.yaml index 0c15821..15a5bf9 100644 --- a/.github/workflows/dependabot-approve-and-merge.yaml +++ b/.github/workflows/dependabot-approve-and-merge.yaml @@ -1,12 +1,14 @@ -name: dependabot-approve-and-merge.yaml +name: dependabot approve and merge + on: pull_request: branches: [main] + jobs: dependabot-approve-and-merge: permissions: contents: write pull-requests: write - uses: senzing-factory/build-resources/.github/workflows/dependabot-approve-and-merge.yaml@main secrets: SENZING_GITHUB_CODEOWNER_PR_RW_TOKEN: ${{ secrets.SENZING_GITHUB_CODEOWNER_PR_RW_TOKEN }} + uses: senzing-factory/build-resources/.github/workflows/dependabot-approve-and-merge.yaml@v1 diff --git a/.github/workflows/docker-build-container.yaml b/.github/workflows/docker-build-container.yaml index 01dc6ed..751e6ec 100644 --- a/.github/workflows/docker-build-container.yaml +++ b/.github/workflows/docker-build-container.yaml @@ -1,16 +1,25 @@ -name: docker-build-container.yaml +name: docker build container + on: pull_request: branches: - main workflow_dispatch: + jobs: docker-build-container: runs-on: ubuntu-latest + steps: - - name: Build docker image - uses: senzing-factory/github-action-docker-buildx-build@latest + - name: get repo name + id: repo-basename + run: | + echo "repo=$(basename ${{ github.repository }})" >> "$GITHUB_OUTPUT" + shell: bash + + - name: build docker image + uses: senzing-factory/github-action-docker-buildx-build@v1 with: - image-repository: senzing/validate + image-repository: senzing/${{ steps.repo-basename.outputs.repo }} password: ${{ secrets.DOCKERHUB_ACCESS_TOKEN }} username: ${{ secrets.DOCKERHUB_USERNAME }} diff --git a/.github/workflows/go-proxy-pull.yaml b/.github/workflows/go-proxy-pull.yaml index 05b8350..9977222 100644 --- a/.github/workflows/go-proxy-pull.yaml +++ b/.github/workflows/go-proxy-pull.yaml @@ -1,10 +1,4 @@ -# Based on -# - https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions -# - https://github.com/marketplace/actions/go-proxy-warming -# - https://github.com/andrewslotin/go-proxy-pull-action -# - https://futurestud.io/tutorials/github-actions-run-a-workflow-when-creating-a-tag - -name: go-proxy-pull.yaml +name: go proxy pull on: push: @@ -17,8 +11,9 @@ permissions: jobs: go-proxy-pull: runs-on: ubuntu-latest + steps: - - name: Pull new module version + - name: pull new module version uses: andrewslotin/go-proxy-pull-action@v1.1.0 with: import_path: github.com/senzing-garage/validate diff --git a/.github/workflows/go-test-darwin.yaml b/.github/workflows/go-test-darwin.yaml index da06110..7e9d9c4 100644 --- a/.github/workflows/go-test-darwin.yaml +++ b/.github/workflows/go-test-darwin.yaml @@ -1,7 +1,4 @@ -# Based on -# - https://github.com/marketplace/actions/setup-go-environment - -name: go-test-darwin.yaml +name: go test darwin on: [push] @@ -10,20 +7,23 @@ permissions: jobs: go-test-darwin: + name: "go test with OS: ${{ matrix.os }}; Go: ${{ matrix.go }}" runs-on: ${{ matrix.os }} strategy: matrix: go: ["1.21"] os: [macos-latest] - name: "go test with OS: ${{ matrix.os }}; Go: ${{ matrix.go }}" + steps: - - name: Checkout repository + - name: checkout repository uses: actions/checkout@v4 with: fetch-depth: 0 - - name: Setup go + + - name: setup go uses: actions/setup-go@v5 with: go-version: ${{ matrix.go }} - - name: Run go test + + - name: run go test run: go test -v -p 1 ./... diff --git a/.github/workflows/go-test-linux.yaml b/.github/workflows/go-test-linux.yaml index 73f9591..7d702e8 100644 --- a/.github/workflows/go-test-linux.yaml +++ b/.github/workflows/go-test-linux.yaml @@ -1,7 +1,4 @@ -# Based on -# - https://github.com/marketplace/actions/setup-go-environment - -name: go-test-linux.yaml +name: go test linux on: [push] @@ -10,20 +7,23 @@ permissions: jobs: go-test-linux: + name: "go test with OS: ${{ matrix.os }}; Go: ${{ matrix.go }}" runs-on: ${{ matrix.os }} strategy: matrix: go: ["1.21"] os: [ubuntu-latest] - name: "go test with OS: ${{ matrix.os }}; Go: ${{ matrix.go }}" + steps: - - name: Checkout repository + - name: checkout repository uses: actions/checkout@v4 with: fetch-depth: 0 - - name: Setup go + + - name: setup go uses: actions/setup-go@v5 with: go-version: ${{ matrix.go }} - - name: Run go test + + - name: run go test run: go test -v -p 1 ./... diff --git a/.github/workflows/go-test-windows.yaml b/.github/workflows/go-test-windows.yaml index 4f33717..593fdc1 100644 --- a/.github/workflows/go-test-windows.yaml +++ b/.github/workflows/go-test-windows.yaml @@ -1,7 +1,4 @@ -# Based on -# - https://github.com/marketplace/actions/setup-go-environment - -name: go-test-windows.yaml +name: go test windows on: [push] @@ -10,20 +7,23 @@ permissions: jobs: go-test-windows: + name: "go test with OS: ${{ matrix.os }}; Go: ${{ matrix.go }}" runs-on: ${{ matrix.os }} strategy: matrix: go: ["1.21"] os: [windows-latest] - name: "go test with OS: ${{ matrix.os }}; Go: ${{ matrix.go }}" + steps: - - name: Checkout repository + - name: checkout repository uses: actions/checkout@v4 with: fetch-depth: 0 - - name: Setup go + + - name: setup go uses: actions/setup-go@v5 with: go-version: ${{ matrix.go }} - - name: Run go test + + - name: run go test run: go test -v -p 1 ./... diff --git a/.github/workflows/gofmt.yaml b/.github/workflows/gofmt.yaml index 59ced20..122d306 100644 --- a/.github/workflows/gofmt.yaml +++ b/.github/workflows/gofmt.yaml @@ -1,4 +1,4 @@ -name: gofmt.yaml +name: gofmt on: pull_request: @@ -9,4 +9,4 @@ permissions: jobs: gofmt: - uses: senzing-factory/build-resources/.github/workflows/gofmt.yaml@main + uses: senzing-factory/build-resources/.github/workflows/gofmt.yaml@v1 diff --git a/.github/workflows/gosec.yaml b/.github/workflows/gosec.yaml index ee7679b..2a3b8b2 100644 --- a/.github/workflows/gosec.yaml +++ b/.github/workflows/gosec.yaml @@ -1,7 +1,4 @@ -# Based on -# - https://github.com/securego/gosec - -name: gosec.yaml +name: gosec on: push: @@ -19,10 +16,12 @@ jobs: runs-on: ubuntu-latest env: GO111MODULE: on + steps: - - name: Checkout Source + - name: checkout repository uses: actions/checkout@v4 - - name: Run Gosec Security Scanner - uses: securego/gosec@master + + - name: run Gosec Security Scanner + uses: securego/gosec@v2.19.0 with: args: ./... diff --git a/.github/workflows/lint-workflows.yaml b/.github/workflows/lint-workflows.yaml new file mode 100644 index 0000000..1bcd936 --- /dev/null +++ b/.github/workflows/lint-workflows.yaml @@ -0,0 +1,17 @@ +name: lint workflows + +on: + push: + branches-ignore: [main] + pull_request: + branches: [main] + +permissions: + contents: read + packages: read + pull-requests: read + statuses: write + +jobs: + lint-workflows: + uses: senzing-factory/build-resources/.github/workflows/lint-workflows.yaml@v1 diff --git a/.github/workflows/make-go-github-file.yaml b/.github/workflows/make-go-github-file.yaml index 93e0674..25e57ff 100644 --- a/.github/workflows/make-go-github-file.yaml +++ b/.github/workflows/make-go-github-file.yaml @@ -1,4 +1,4 @@ -name: make-go-github-file.yaml +name: make go github file on: push: @@ -7,11 +7,12 @@ on: permissions: contents: write + pull-requests: write jobs: make-go-github-file: - uses: senzing-factory/build-resources/.github/workflows/make-go-github-file.yaml@main secrets: - SENZING_GITHUB_GPG_PRIVATE_KEY: ${{ secrets.SENZING_GITHUB_GPG_PRIVATE_KEY }} - SENZING_GITHUB_GPG_PASSPHRASE: ${{ secrets.SENZING_GITHUB_GPG_PASSPHRASE }} SENZING_GITHUB_ACTOR: ${{ secrets.SENZING_GITHUB_ACTOR }} + SENZING_GITHUB_GPG_PASSPHRASE: ${{ secrets.SENZING_GITHUB_GPG_PASSPHRASE }} + SENZING_GITHUB_GPG_PRIVATE_KEY: ${{ secrets.SENZING_GITHUB_GPG_PRIVATE_KEY }} + uses: senzing-factory/build-resources/.github/workflows/make-go-github-file.yaml@v1 diff --git a/.github/workflows/make-go-tag.yaml b/.github/workflows/make-go-tag.yaml index fa51bae..5a25899 100644 --- a/.github/workflows/make-go-tag.yaml +++ b/.github/workflows/make-go-tag.yaml @@ -1,4 +1,4 @@ -name: make-go-tag.yaml +name: make go tag on: push: @@ -10,10 +10,12 @@ permissions: jobs: make-go-tag: - name: Make a vM.m.P tag + name: make a vM.m.P tag runs-on: ubuntu-latest + steps: - - name: Checkout repository + - name: checkout repository uses: actions/checkout@v4 - - name: Make go version tag - uses: senzing-factory/github-action-make-go-tag@main + + - name: make go version tag + uses: senzing-factory/github-action-make-go-tag@v1 diff --git a/.github/workflows/move-pr-to-done-dependabot.yaml b/.github/workflows/move-pr-to-done-dependabot.yaml new file mode 100644 index 0000000..4a5db44 --- /dev/null +++ b/.github/workflows/move-pr-to-done-dependabot.yaml @@ -0,0 +1,17 @@ +name: move pr to done dependabot + +on: + pull_request: + branches: [main] + types: [closed] + +permissions: + repository-projects: write + +jobs: + move-pr-to-done-dependabot: + secrets: + SENZING_GITHUB_PROJECT_RW_TOKEN: ${{ secrets.SENZING_GITHUB_PROJECT_RW_TOKEN }} + uses: senzing-factory/build-resources/.github/workflows/move-pr-to-done-dependabot.yaml@v1 + with: + project: ${{ vars.SENZING_PROJECT_GARAGE }} diff --git a/.github/workflows/move-pr-to-done.yaml b/.github/workflows/move-pr-to-done.yaml deleted file mode 100644 index 099d1b4..0000000 --- a/.github/workflows/move-pr-to-done.yaml +++ /dev/null @@ -1,9 +0,0 @@ -name: move-pr-to-done.yaml -on: - pull_request: - types: [closed] -jobs: - move-pr-to-done: - uses: senzing-factory/build-resources/.github/workflows/move-pr-to-done.yaml@main - secrets: - SENZING_GITHUB_PROJECT_RW_TOKEN: ${{ secrets.SENZING_GITHUB_PROJECT_RW_TOKEN }} diff --git a/CHANGELOG.md b/CHANGELOG.md index b9044db..4c19311 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - +## [0.1.1] - 2024-04-19 + +### Changed in 0.1.1 + +- Update dependencies + - github.com/senzing-garage/go-cmdhelping v0.2.1 + - github.com/senzing-garage/go-helpers v0.5.1 + - github.com/senzing-garage/go-logging v1.4.1 + - github.com/stretchr/testify v1.9.0 + ## [0.1.0] - 2024-01-02 ### Changed in 0.1.0 diff --git a/cmd/github.go b/cmd/github.go index 876e8a3..8951aec 100644 --- a/cmd/github.go +++ b/cmd/github.go @@ -1,15 +1,15 @@ -// 0.1.1 -// Created by make-go-github-file.yaml on Tue Jan 2 21:36:28 UTC 2024 +// 0.1.2 +// Created by make-go-github-file.yaml on Fri Apr 19 19:25:27 UTC 2024 // //lint:file-ignore U1000 Ignore all unused code, it's generated package cmd var ( - githubDate string = "2024-01-02" + githubDate string = "2024-04-19" githubIteration string = "0" - githubRef string = "refs/tags/0.1.1" - githubRefName string = "0.1.1" + githubRef string = "refs/tags/0.1.2" + githubRefName string = "0.1.2" githubRepository string = "senzing-garage/validate" githubRepositoryName string = "validate" - githubVersion string = "0.1.1" + githubVersion string = "0.1.2" ) diff --git a/go.mod b/go.mod index 471105b..120c69c 100644 --- a/go.mod +++ b/go.mod @@ -3,37 +3,37 @@ module github.com/senzing-garage/validate go 1.21 require ( - github.com/senzing-garage/go-cmdhelping v0.2.0 - github.com/senzing-garage/go-common v0.4.0 - github.com/senzing-garage/go-logging v1.4.0 + github.com/senzing-garage/go-cmdhelping v0.2.1 + github.com/senzing-garage/go-helpers v0.5.1 + github.com/senzing-garage/go-logging v1.4.1 github.com/spf13/cobra v1.8.0 github.com/spf13/viper v1.18.2 - github.com/stretchr/testify v1.8.4 + github.com/stretchr/testify v1.9.0 ) require ( - github.com/cpuguy83/go-md2man/v2 v2.0.3 // indirect + github.com/cpuguy83/go-md2man/v2 v2.0.4 // indirect github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect github.com/fsnotify/fsnotify v1.7.0 // indirect github.com/hashicorp/hcl v1.0.0 // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/magiconair/properties v1.8.7 // indirect github.com/mitchellh/mapstructure v1.5.0 // indirect - github.com/pelletier/go-toml/v2 v2.1.1 // indirect + github.com/pelletier/go-toml/v2 v2.2.2 // indirect github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect github.com/russross/blackfriday/v2 v2.1.0 // indirect github.com/sagikazarmark/locafero v0.4.0 // indirect github.com/sagikazarmark/slog-shim v0.1.0 // indirect - github.com/senzing-garage/go-messaging v1.4.0 // indirect + github.com/senzing-garage/go-messaging v1.4.1 // indirect github.com/sourcegraph/conc v0.3.0 // indirect github.com/spf13/afero v1.11.0 // indirect github.com/spf13/cast v1.6.0 // indirect github.com/spf13/pflag v1.0.5 // indirect github.com/subosito/gotenv v1.6.0 // indirect go.uber.org/multierr v1.11.0 // indirect - golang.org/x/exp v0.0.0-20231226003508-02704c960a9b // indirect - golang.org/x/sys v0.15.0 // indirect - golang.org/x/text v0.14.0 // indirect + golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842 // indirect + golang.org/x/sys v0.20.0 // indirect + golang.org/x/text v0.15.0 // indirect gopkg.in/ini.v1 v1.67.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/go.sum b/go.sum index 8584e24..45dce99 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,6 @@ -github.com/cpuguy83/go-md2man/v2 v2.0.3 h1:qMCsGGgs+MAzDFyp9LpAe1Lqy/fY/qCovCm0qnXZOBM= github.com/cpuguy83/go-md2man/v2 v2.0.3/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= +github.com/cpuguy83/go-md2man/v2 v2.0.4 h1:wfIWP927BUkWJb2NmU/kNDYIBTh/ziUX91+lVfRxZq4= +github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM= @@ -8,8 +9,8 @@ github.com/frankban/quicktest v1.14.6 h1:7Xjx+VpznH+oBnejlPUj8oUpdxnVs4f8XU8WnHk github.com/frankban/quicktest v1.14.6/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0= github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nosvA= github.com/fsnotify/fsnotify v1.7.0/go.mod h1:40Bi/Hjc2AVfZrqy+aj+yEI+/bRxZnMJyTJwOpGvigM= -github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= -github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= +github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= @@ -22,8 +23,8 @@ github.com/magiconair/properties v1.8.7 h1:IeQXZAiQcpL9mgcAe1Nu6cX9LLw6ExEHKjN0V github.com/magiconair/properties v1.8.7/go.mod h1:Dhd985XPs7jluiymwWYZ0G4Z61jb3vdS329zhj2hYo0= github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= -github.com/pelletier/go-toml/v2 v2.1.1 h1:LWAJwfNvjQZCFIDKWYQaM62NcYeYViCmWIwmOStowAI= -github.com/pelletier/go-toml/v2 v2.1.1/go.mod h1:tJU2Z3ZkXwnxa4DPO899bsyIoywizdUvyaeZurnPPDc= +github.com/pelletier/go-toml/v2 v2.2.2 h1:aYUidT7k73Pcl9nb2gScu7NSrKCSHIDE89b3+6Wq+LM= +github.com/pelletier/go-toml/v2 v2.2.2/go.mod h1:1t835xjRzz80PqgE6HHgN2JOsmgYu/h4qDAS4n929Rs= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U= github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= @@ -35,14 +36,14 @@ github.com/sagikazarmark/locafero v0.4.0 h1:HApY1R9zGo4DBgr7dqsTH/JJxLTTsOt7u6ke github.com/sagikazarmark/locafero v0.4.0/go.mod h1:Pe1W6UlPYUk/+wc/6KFhbORCfqzgYEpgQ3O5fPuL3H4= github.com/sagikazarmark/slog-shim v0.1.0 h1:diDBnUNK9N/354PgrxMywXnAwEr1QZcOr6gto+ugjYE= github.com/sagikazarmark/slog-shim v0.1.0/go.mod h1:SrcSrq8aKtyuqEI1uvTDTK1arOWRIczQRv+GVI1AkeQ= -github.com/senzing-garage/go-cmdhelping v0.2.0 h1:c1T1v+FUtQ31Lzo7VXmSKGEuIBXPi4RGPjnwy+Lt3Ao= -github.com/senzing-garage/go-cmdhelping v0.2.0/go.mod h1:+IYFvjFPJlF1Nfxq0RdWqePj8NzPPKEOCYPTLCtk/ic= -github.com/senzing-garage/go-common v0.4.0 h1:/6/5yNY80udkbOzSAX0Vvx2+0kD9JF7fhqNUlRj2Vho= -github.com/senzing-garage/go-common v0.4.0/go.mod h1:f2EIjPzAcULG8eKUVebIUNS2qgMVcJRgmQY9fpBDF9E= -github.com/senzing-garage/go-logging v1.4.0 h1:i+mLVKmD26I2Dy1GBSd7O5MexHyVJoHak2joWn7oq+4= -github.com/senzing-garage/go-logging v1.4.0/go.mod h1:BHasgKwDU3fqj8wJ5UJrPgUoaaR0uPISG6xxL8cTcp4= -github.com/senzing-garage/go-messaging v1.4.0 h1:XNnOsx4yHslhggNJkZD+p3/Fv/zwhbxjCiwTU+nDFXY= -github.com/senzing-garage/go-messaging v1.4.0/go.mod h1:V/B3SZSZY7cw2Nc7rZQkLaJu/PRyDA4AbviccDRjW1I= +github.com/senzing-garage/go-cmdhelping v0.2.1 h1:F40uSBtxP03/5aXAUW9C5kMuCFj8lFvmvDlJDvAq9qE= +github.com/senzing-garage/go-cmdhelping v0.2.1/go.mod h1:76FIsPpEWQrsY7DLR5f/I0bi5UB43KfmDd7b1jBfot8= +github.com/senzing-garage/go-helpers v0.5.1 h1:ezVW5oAHihfG2QVpe/Ooyz8q9UPrCuDdg+W43wk9phY= +github.com/senzing-garage/go-helpers v0.5.1/go.mod h1:Gx66fvdAqt4YVf1KVCjzK2Rmr/C7qe5zaZW4VQ3goyM= +github.com/senzing-garage/go-logging v1.4.1 h1:ubNspaf0r4Q29XeNW58q0oPGLq4c1pdf9FciQLw6hpc= +github.com/senzing-garage/go-logging v1.4.1/go.mod h1:TW1w0UE9fQpy9odkx1jJQeffW+OTdrqEyxhtWKGW1n4= +github.com/senzing-garage/go-messaging v1.4.1 h1:ZdFcemh1iACP+HJWGS5/QLaUSD7PUYVXhzW7Zbju9f0= +github.com/senzing-garage/go-messaging v1.4.1/go.mod h1:7tEicOa0baYz0lh0w1BJEiQ6ry1FIQl/67JAWwFpcRY= github.com/sourcegraph/conc v0.3.0 h1:OQTbbt6P72L20UqAkXXuLOj79LfEanQ+YQFNpLA9ySo= github.com/sourcegraph/conc v0.3.0/go.mod h1:Sdozi7LEKbFPqYX2/J+iBAM6HpqSLTASQIKqDmF7Mt0= github.com/spf13/afero v1.11.0 h1:WJQKhtpdm3v2IzqG8VMqrr6Rf3UYpEF239Jy9wNepM8= @@ -58,20 +59,22 @@ github.com/spf13/viper v1.18.2/go.mod h1:EKmWIqdnk5lOcmR72yw6hS+8OPYcwD0jteitLMV github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= +github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA= github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= -github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= +github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/subosito/gotenv v1.6.0 h1:9NlTDc1FTs4qu0DDq7AEtTPNw6SVm7uBMsUCUjABIf8= github.com/subosito/gotenv v1.6.0/go.mod h1:Dk4QP5c2W3ibzajGcXpNraDfq2IrhjMIvMSWPKKo0FU= go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0= go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y= -golang.org/x/exp v0.0.0-20231226003508-02704c960a9b h1:kLiC65FbiHWFAOu+lxwNPujcsl8VYyTYYEZnsOO1WK4= -golang.org/x/exp v0.0.0-20231226003508-02704c960a9b/go.mod h1:iRJReGqOEeBhDZGkGbynYwcHlctCvnjTYIamk7uXpHI= -golang.org/x/sys v0.15.0 h1:h48lPFYpsTvQJZF4EKyI4aLHaev3CxivZmv7yZig9pc= -golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= -golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= +golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842 h1:vr/HnozRka3pE4EsMEg1lgkXJkTFJCVUX+S/ZT6wYzM= +golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842/go.mod h1:XtvwrStGgqGPLc4cjQfWqZHG1YFdYs6swckp8vpsjnc= +golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y= +golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk= +golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= diff --git a/validate/validate.go b/validate/validate.go index 636780f..8c0d403 100644 --- a/validate/validate.go +++ b/validate/validate.go @@ -12,7 +12,7 @@ import ( "path/filepath" "strings" - "github.com/senzing-garage/go-common/record" + "github.com/senzing-garage/go-helpers/record" "github.com/senzing-garage/go-logging/logging" )