diff --git a/.dockerignore b/.dockerignore index 4e2bf93..253d5ef 100644 --- a/.dockerignore +++ b/.dockerignore @@ -9,5 +9,4 @@ CODE_OF_CONDUCT.md CONTRIBUTING.md docker-compose.test.yml LICENSE -PULL_REQUEST_TEMPLATE.md -README.md \ No newline at end of file +README.md diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 50c112b..1d4b2ad 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1,3 +1,3 @@ # Default code owner -* @Senzing/go-developers +* @senzing-garage/senzing-go-developers diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index d3a80d7..0000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve - ---- - -**Describe the bug** -A clear and concise description of what the bug is. - -**To Reproduce** -Steps to reproduce the behavior: - -1. Go to '...' -2. Click on '....' -3. Scroll down to '....' -4. See error - -**Expected behavior** -A clear and concise description of what you expected to happen. - -**Screenshots** -If applicable, add screenshots to help explain your problem. - -**Desktop (please complete the following information):** - -- OS: [e.g. iOS] -- Browser [e.g. chrome, safari] -- Version [e.g. 22] - -**Smartphone (please complete the following information):** - -- Device: [e.g. iPhone6] -- OS: [e.g. iOS8.1] -- Browser [e.g. stock browser, safari] -- Version [e.g. 22] - -**Additional context** -Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/documentation_request.md b/.github/ISSUE_TEMPLATE/documentation_request.md deleted file mode 100644 index c18a3fa..0000000 --- a/.github/ISSUE_TEMPLATE/documentation_request.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -name: Documentation request -about: Identify an area for improvement in documentation - ---- - -**What is the URL of the documentation?** - -- **Example:** https://github.com/Senzing/template-docker#external-database - - *Note:* This URL includes the web page and the section of the documentation. - -**What can be improved?** - -A clear and concise description of what can be improved. -Examples: - -- "I don't understand where the ${XYZ} variable is set." -- "There seems to be a step missing between 'X' and 'Z'. I don't know how to get to 'Z'." -- "When I run `command sub-command ...` I get the following error:" -- "I don't know what is meant by 'gerble barb gazoink` in the instructions". - -**Additional context** - -Add any other context or screenshots to help describe the documentation improvement. -If you think the documentation improvement is operating system specific, -please indicate which operating system is being used. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index 066b2d9..0000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for this project - ---- - -**Is your feature request related to a problem? Please describe.** -A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] - -**Describe the solution you'd like** -A clear and concise description of what you want to happen. - -**Describe alternatives you've considered** -A clear and concise description of any alternative solutions or features you've considered. - -**Additional context** -Add any other context or screenshots about the feature request here. diff --git a/.github/workflows/add-dependabot-request-to-project-t-comm.yaml b/.github/workflows/add-dependabot-request-to-project-t-comm.yaml deleted file mode 100644 index 5d9cbcb..0000000 --- a/.github/workflows/add-dependabot-request-to-project-t-comm.yaml +++ /dev/null @@ -1,27 +0,0 @@ -# Based on -# - https://github.com/srggrs/assign-one-project-github-action - -name: add-dependabot-request-to-project-t-comm.yaml - -on: - pull_request: - types: - - opened - - reopened - -env: - GITHUB_TOKEN: ${{ secrets.SENZING_GITHUB_ACCESS_TOKEN }} - CREATOR: ${{ github.event.pull_request.user.login }} - -jobs: - add-dependabot-request-to-project: - name: Add dependabot pull request to Senzing Community project - runs-on: ubuntu-latest - steps: - - name: Assign pull request to project - env: - BOOL: ${{ contains( env.CREATOR, 'dependabot' ) }} - uses: Senzing/github-action-add-issue-to-project@main - if: ${{ env.BOOL == 'true' }} - with: - project: "https://github.com/orgs/Senzing/projects/2" diff --git a/.github/workflows/add-issue-to-project-t-comm.yaml b/.github/workflows/add-issue-to-project-t-comm.yaml deleted file mode 100644 index 978d2b1..0000000 --- a/.github/workflows/add-issue-to-project-t-comm.yaml +++ /dev/null @@ -1,24 +0,0 @@ -# Based on -# - https://github.com/srggrs/assign-one-project-github-action - -name: add-issue-to-project-t-comm.yaml - -on: - issues: - types: - - reopened - - opened - -env: - GITHUB_TOKEN: ${{ secrets.SENZING_GITHUB_ACCESS_TOKEN }} - -jobs: - add-issue-to-project: - name: Add issue to Senzing Community project - runs-on: ubuntu-latest - steps: - - name: Assign issue to project - uses: Senzing/github-action-add-issue-to-project@main - with: - project: "https://github.com/orgs/Senzing/projects/2" - column_name: "Backlog" diff --git a/.github/workflows/identify-customer.yaml b/.github/workflows/add-label-customer-submission.yaml similarity index 68% rename from .github/workflows/identify-customer.yaml rename to .github/workflows/add-label-customer-submission.yaml index 2e9a0da..f9dd8e8 100644 --- a/.github/workflows/identify-customer.yaml +++ b/.github/workflows/add-label-customer-submission.yaml @@ -1,21 +1,17 @@ -name: identify-customer.yaml - +name: add-label-customer-submission.yaml on: issues: types: - opened - env: - GITHUB_TOKEN: ${{ secrets.ORG_MEMBERSHIP_TOKEN }} MEMBER_LIST: ${{ secrets.SENZING_MEMBERS }} CREATOR: ${{ github.actor }} - jobs: - identify-customer: - name: Add customer-submission label + automate-issues-labels: + name: Add customer-submission label to issue runs-on: ubuntu-latest steps: - - name: initial labeling + - name: Add customer-submission label env: BOOL: ${{ contains( env.MEMBER_LIST, env.CREATOR ) }} if: ${{ env.BOOL == 'false' }} diff --git a/.github/workflows/add-triage-label.yaml b/.github/workflows/add-label-triage.yaml similarity index 51% rename from .github/workflows/add-triage-label.yaml rename to .github/workflows/add-label-triage.yaml index bdbefae..fc32b8c 100644 --- a/.github/workflows/add-triage-label.yaml +++ b/.github/workflows/add-label-triage.yaml @@ -1,21 +1,15 @@ -# Based on -# - https://docs.github.com/en/actions/guides/adding-labels-to-issues -# - https://github.com/andymckay/labeler - -name: add-triage-label.yaml - +name: add-label-triage.yaml on: issues: types: - reopened - opened - jobs: - add-triage-label: + automate-issues-labels: name: Add triage label to issue runs-on: ubuntu-latest steps: - - name: initial labeling + - name: Add triage label uses: andymckay/labeler@1.0.4 with: add-labels: "triage" diff --git a/.github/workflows/add-to-project-garage-dependabot.yaml b/.github/workflows/add-to-project-garage-dependabot.yaml new file mode 100644 index 0000000..91cb367 --- /dev/null +++ b/.github/workflows/add-to-project-garage-dependabot.yaml @@ -0,0 +1,21 @@ +name: add-to-project-garage-dependabot.yaml +on: + pull_request: + types: + - opened + - reopened +env: + CREATOR: ${{ github.event.pull_request.user.login }} +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 }} diff --git a/.github/workflows/add-to-project-garage.yaml b/.github/workflows/add-to-project-garage.yaml new file mode 100644 index 0000000..4599e4e --- /dev/null +++ b/.github/workflows/add-to-project-garage.yaml @@ -0,0 +1,16 @@ +name: add-to-project-garage.yaml +on: + issues: + types: + - reopened + - opened +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 }} diff --git a/.github/workflows/dependabot-approve-and-merge.yaml b/.github/workflows/dependabot-approve-and-merge.yaml index 114db76..0c15821 100644 --- a/.github/workflows/dependabot-approve-and-merge.yaml +++ b/.github/workflows/dependabot-approve-and-merge.yaml @@ -1,15 +1,12 @@ ---- name: dependabot-approve-and-merge.yaml - on: pull_request: branches: [main] - jobs: dependabot-approve-and-merge: permissions: contents: write pull-requests: write - uses: Senzing/build-resources/.github/workflows/dependabot-approve-and-merge.yaml@main + 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 }} diff --git a/.github/workflows/docker-build-container.yaml b/.github/workflows/docker-build-container.yaml index 88df06f..43127f3 100644 --- a/.github/workflows/docker-build-container.yaml +++ b/.github/workflows/docker-build-container.yaml @@ -1,17 +1,15 @@ name: docker-build-container.yaml - on: pull_request: branches: - main workflow_dispatch: - jobs: docker-build-container: runs-on: ubuntu-latest steps: - name: Build docker image - uses: Senzing/github-action-docker-buildx-build@latest + uses: senzing-factory/github-action-docker-buildx-build@latest with: image-repository: senzing/test-ground password: ${{ secrets.DOCKERHUB_ACCESS_TOKEN }} diff --git a/.github/workflows/docker-push-containers-to-dockerhub.yaml b/.github/workflows/docker-push-containers-to-dockerhub.yaml index 7d7b43f..e671d5f 100644 --- a/.github/workflows/docker-push-containers-to-dockerhub.yaml +++ b/.github/workflows/docker-push-containers-to-dockerhub.yaml @@ -1,16 +1,14 @@ name: docker-push-containers-to-dockerhub.yaml - on: push: tags: - "[0-9]+.[0-9]+.[0-9]+" - jobs: docker-push-containers-to-dockerhub: runs-on: ubuntu-latest steps: - name: Build docker image and push to DockerHub - uses: Senzing/github-action-docker-buildx-build@latest + uses: senzing-factory/github-action-docker-buildx-build@latest with: build-options: "--push" image-repository: senzing/test-ground diff --git a/.github/workflows/go-proxy-pull.yaml b/.github/workflows/go-proxy-pull.yaml index 398d00b..ce17845 100644 --- a/.github/workflows/go-proxy-pull.yaml +++ b/.github/workflows/go-proxy-pull.yaml @@ -5,12 +5,10 @@ # - https://futurestud.io/tutorials/github-actions-run-a-workflow-when-creating-a-tag name: go-proxy-pull.yaml - on: push: tags: - "v[0-9]+.[0-9]+.[0-9]+" - jobs: go-proxy-pull: runs-on: ubuntu-latest @@ -18,4 +16,4 @@ jobs: - name: Pull new module version uses: andrewslotin/go-proxy-pull-action@v1.1.0 with: - import_path: github.com/senzing/template-go + import_path: github.com/senzing-garage/template-go diff --git a/.github/workflows/go-test-darwin.yaml b/.github/workflows/go-test-darwin.yaml index da22826..264ae66 100644 --- a/.github/workflows/go-test-darwin.yaml +++ b/.github/workflows/go-test-darwin.yaml @@ -2,13 +2,10 @@ # - https://github.com/marketplace/actions/setup-go-environment name: go-test-darwin.yaml - on: [push] - env: DYLD_LIBRARY_PATH: /opt/senzing/g2/lib:/opt/senzing/g2/lib/macos LD_LIBRARY_PATH: /opt/senzing/g2/lib:/opt/senzing/g2/lib/macos - jobs: go-test-darwin: runs-on: ${{ matrix.os }} diff --git a/.github/workflows/go-test-linux.yaml b/.github/workflows/go-test-linux.yaml index 3350d52..2894ed4 100644 --- a/.github/workflows/go-test-linux.yaml +++ b/.github/workflows/go-test-linux.yaml @@ -2,9 +2,7 @@ # - https://github.com/marketplace/actions/setup-go-environment name: go-test-linux.yaml - on: [push] - jobs: go-test-linux: runs-on: ${{ matrix.os }} diff --git a/.github/workflows/go-test-windows.yaml b/.github/workflows/go-test-windows.yaml index a32df10..875f0e0 100644 --- a/.github/workflows/go-test-windows.yaml +++ b/.github/workflows/go-test-windows.yaml @@ -2,9 +2,7 @@ # - https://github.com/marketplace/actions/setup-go-environment name: go-test-windows.yaml - on: [push] - jobs: go-test-windows: runs-on: ${{ matrix.os }} diff --git a/.github/workflows/gofmt.yaml b/.github/workflows/gofmt.yaml index e803ad4..6bf9fbe 100644 --- a/.github/workflows/gofmt.yaml +++ b/.github/workflows/gofmt.yaml @@ -1,10 +1,7 @@ ---- name: gofmt.yaml - on: pull_request: branches: [main] - jobs: gofmt: - uses: Senzing/build-resources/.github/workflows/gofmt.yaml@main + uses: senzing-factory/build-resources/.github/workflows/gofmt.yaml@main diff --git a/.github/workflows/gosec.yaml b/.github/workflows/gosec.yaml index a4dc82c..42443d8 100644 --- a/.github/workflows/gosec.yaml +++ b/.github/workflows/gosec.yaml @@ -2,7 +2,6 @@ # - https://github.com/securego/gosec name: gosec.yaml - on: push: branches: @@ -10,7 +9,6 @@ on: pull_request: branches: - main - jobs: gosec: runs-on: ubuntu-latest diff --git a/.github/workflows/make-go-github-file.yaml b/.github/workflows/make-go-github-file.yaml index 882c109..7ba655b 100644 --- a/.github/workflows/make-go-github-file.yaml +++ b/.github/workflows/make-go-github-file.yaml @@ -1,14 +1,12 @@ ---- name: make-go-github-file.yaml - on: push: tags: - "[0-9]+.[0-9]+.[0-9]+" - +permissions: write-all jobs: make-go-github-file: - uses: Senzing/build-resources/.github/workflows/make-go-github-file.yaml@main + 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 }} diff --git a/.github/workflows/make-go-tag.yaml b/.github/workflows/make-go-tag.yaml index 15d098c..ad7670f 100644 --- a/.github/workflows/make-go-tag.yaml +++ b/.github/workflows/make-go-tag.yaml @@ -1,10 +1,9 @@ name: make-go-tag.yaml - on: push: tags: - "[0-9]+.[0-9]+.[0-9]+" - +permissions: write-all jobs: make-go-tag: name: Make a vM.m.P tag @@ -13,4 +12,4 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - name: Make go version tag - uses: Senzing/github-action-make-go-tag@main + uses: senzing-factory/github-action-make-go-tag@main diff --git a/.github/workflows/move-pr-to-done.yaml b/.github/workflows/move-pr-to-done.yaml index a77c683..099d1b4 100644 --- a/.github/workflows/move-pr-to-done.yaml +++ b/.github/workflows/move-pr-to-done.yaml @@ -1,12 +1,9 @@ ---- name: move-pr-to-done.yaml - on: pull_request: types: [closed] - jobs: move-pr-to-done: - uses: Senzing/build-resources/.github/workflows/move-pr-to-done.yaml@main + 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/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index f6f9f91..a8f1a17 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -34,7 +34,7 @@ This Code of Conduct applies both within project spaces and in public spaces whe ## Enforcement -Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at support@senzing.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately. +Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at . The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately. Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 42274fa..89228e3 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -82,7 +82,7 @@ These variables may be modified, but do not need to be modified. The variables are used throughout the installation procedure. ```console -export GIT_ACCOUNT=senzing +export GIT_ACCOUNT=senzing-garage export GIT_REPOSITORY=template-go ``` diff --git a/PULL_REQUEST_TEMPLATE.md b/PULL_REQUEST_TEMPLATE.md deleted file mode 100644 index 0b11a2f..0000000 --- a/PULL_REQUEST_TEMPLATE.md +++ /dev/null @@ -1,13 +0,0 @@ -# Pull request questions - -## Which issue does this address - -Issue number: #nnn - -## Why was change needed - -??? - -## What does change improve - -??? diff --git a/README.md b/README.md index 0d69508..b69bb59 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,30 @@ # template-go +If you are beginning your journey with +[Senzing](https://senzing.com/), +please start with +[Senzing Quick Start guides](https://docs.senzing.com/quickstart/). + +You are in the +[Senzing Garage](https://github.com/senzing-garage) +where projects are "tinkered" on. +Although this GitHub repository may help you understand an approach to using Senzing, +it's not considered to be "production ready" and is not considered to be part of the Senzing product. +Heck, it may not even be appropriate for your application of Senzing! + ## Synopsis The template-go repository serves as a starting point for new repositories hosting Go code. It also shows best practices that can be retro-fitted into existing repositories hosting Go code. -[![Go Reference](https://pkg.go.dev/badge/github.com/senzing/template-go.svg)](https://pkg.go.dev/github.com/senzing/template-go) -[![Go Report Card](https://goreportcard.com/badge/github.com/senzing/template-go)](https://goreportcard.com/report/github.com/senzing/template-go) -[![License](https://img.shields.io/badge/License-Apache2-brightgreen.svg)](https://github.com/Senzing/template-go/blob/main/LICENSE) +[![Go Reference](https://pkg.go.dev/badge/github.com/senzing-garage/template-go.svg)](https://pkg.go.dev/github.com/senzing-garage/template-go) +[![Go Report Card](https://goreportcard.com/badge/github.com/senzing-garage/template-go)](https://goreportcard.com/report/github.com/senzing-garage/template-go) +[![License](https://img.shields.io/badge/License-Apache2-brightgreen.svg)](https://github.com/senzing-garage/template-go/blob/main/LICENSE) -[![gosec.yaml](https://github.com/Senzing/template-go/actions/workflows/gosec.yaml/badge.svg)](https://github.com/Senzing/template-go/actions/workflows/gosec.yaml) -[![go-test-linux.yaml](https://github.com/Senzing/template-go/actions/workflows/go-test-linux.yaml/badge.svg)](https://github.com/Senzing/template-go/actions/workflows/go-test-linux.yaml) -[![go-test-darwin.yaml](https://github.com/Senzing/template-go/actions/workflows/go-test-darwin.yaml/badge.svg)](https://github.com/Senzing/template-go/actions/workflows/go-test-darwin.yaml) -[![go-test-windows.yaml](https://github.com/Senzing/template-go/actions/workflows/go-test-windows.yaml/badge.svg)](https://github.com/Senzing/template-go/actions/workflows/go-test-windows.yaml) +[![gosec.yaml](https://github.com/senzing-garage/template-go/actions/workflows/gosec.yaml/badge.svg)](https://github.com/senzing-garage/template-go/actions/workflows/gosec.yaml) +[![go-test-linux.yaml](https://github.com/senzing-garage/template-go/actions/workflows/go-test-linux.yaml/badge.svg)](https://github.com/senzing-garage/template-go/actions/workflows/go-test-linux.yaml) +[![go-test-darwin.yaml](https://github.com/senzing-garage/template-go/actions/workflows/go-test-darwin.yaml/badge.svg)](https://github.com/senzing-garage/template-go/actions/workflows/go-test-darwin.yaml) +[![go-test-windows.yaml](https://github.com/senzing-garage/template-go/actions/workflows/go-test-windows.yaml/badge.svg)](https://github.com/senzing-garage/template-go/actions/workflows/go-test-windows.yaml) ## Overview @@ -34,10 +46,10 @@ Aspects of the template-go repository: ## References -1. [API documentation](https://pkg.go.dev/github.com/senzing/template-go) +1. [API documentation](https://pkg.go.dev/github.com/senzing-garage/template-go) 1. [Development](docs/development.md) 1. [Errors](docs/errors.md) 1. [Examples](docs/examples.md) 1. Related artifacts: 1. [DockerHub](https://hub.docker.com/r/senzing/template-go) - 1. [Helm Chart](https://github.com/Senzing/charts/tree/main/charts/template-go) + 1. [Helm Chart](https://github.com/senzing-garage/charts/tree/main/charts/template-go) diff --git a/cmd/context_darwin.go b/cmd/context_darwin.go index 0b629a6..0b32639 100644 --- a/cmd/context_darwin.go +++ b/cmd/context_darwin.go @@ -2,6 +2,6 @@ package cmd -import "github.com/senzing/go-cmdhelping/option" +import "github.com/senzing-garage/go-cmdhelping/option" var ContextVariablesForOsArch = []option.ContextVariable{} diff --git a/cmd/context_linux.go b/cmd/context_linux.go index 9a9c1a3..824b061 100644 --- a/cmd/context_linux.go +++ b/cmd/context_linux.go @@ -2,6 +2,6 @@ package cmd -import "github.com/senzing/go-cmdhelping/option" +import "github.com/senzing-garage/go-cmdhelping/option" var ContextVariablesForOsArch = []option.ContextVariable{} diff --git a/cmd/context_windows.go b/cmd/context_windows.go index a9f8846..484a945 100644 --- a/cmd/context_windows.go +++ b/cmd/context_windows.go @@ -2,6 +2,6 @@ package cmd -import "github.com/senzing/go-cmdhelping/option" +import "github.com/senzing-garage/go-cmdhelping/option" var ContextVariablesForOsArch = []option.ContextVariable{} diff --git a/cmd/root.go b/cmd/root.go index 520ffbf..c50d802 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -6,10 +6,10 @@ import ( "context" "os" - "github.com/senzing/go-cmdhelping/cmdhelper" - "github.com/senzing/go-cmdhelping/option" - "github.com/senzing/go-cmdhelping/option/optiontype" - "github.com/senzing/template-go/examplepackage" + "github.com/senzing-garage/go-cmdhelping/cmdhelper" + "github.com/senzing-garage/go-cmdhelping/option" + "github.com/senzing-garage/go-cmdhelping/option/optiontype" + "github.com/senzing-garage/template-go/examplepackage" "github.com/spf13/cobra" "github.com/spf13/viper" ) diff --git a/doc.go b/doc.go index 14f9b25..3e02b52 100644 --- a/doc.go +++ b/doc.go @@ -7,7 +7,7 @@ One or two paragraph overview of this module... (This page describes the nature of the entire Go module or the top-level command, not an individual package.) -More information at https://github.com/senzing/template-go +More information at https://github.com/senzing-garage/template-go # Example Package @@ -16,7 +16,7 @@ documentation, tests, and examples should be done. This paragraph (or two) should provide a brief overview while linking the reader to the documentation included in the package itself. -More information can be found in the [pkg/github.com/senzing/template-go/examplepackage] documentation. +More information can be found in the [pkg/github.com/senzing-garage/template-go/examplepackage] documentation. # Another Header: Package or other module features... @@ -33,8 +33,8 @@ Examples of use can be seen in the main_test.go files. import ( fmt - "github.com/senzing/template-go/examplepackage" - "github.com/senzing/template-go/anotherpackage" + "github.com/senzing-garage/template-go/examplepackage" + "github.com/senzing-garage/template-go/anotherpackage" ) func main() { diff --git a/docs/development.md b/docs/development.md index af4ef30..115af6b 100644 --- a/docs/development.md +++ b/docs/development.md @@ -14,7 +14,7 @@ Since the Senzing library is a prerequisite, it must be installed first. 1. `/etc/opt/senzing` 1. If not installed, see - [How to Install Senzing for Go Development](https://github.com/Senzing/knowledge-base/blob/main/HOWTO/install-senzing-for-go-development.md). + [How to Install Senzing for Go Development](https://github.com/senzing-garage/knowledge-base/blob/main/HOWTO/install-senzing-for-go-development.md). ## Install Git repository @@ -29,7 +29,7 @@ Since the Senzing library is a prerequisite, it must be installed first. ``` 1. Using the environment variables values just set, follow steps in - [clone-repository](https://github.com/Senzing/knowledge-base/blob/main/HOWTO/clone-repository.md) to install the Git repository. + [clone-repository](https://github.com/senzing-garage/knowledge-base/blob/main/HOWTO/clone-repository.md) to install the Git repository. ## Build @@ -113,7 +113,7 @@ Since the Senzing library is a prerequisite, it must be installed first. 1. When a versioned release is published with a `v0.0.0` format tag, the reference can be found by clicking on the following badge at the top of the README.md page: -[![Go Reference](https://pkg.go.dev/badge/github.com/senzing/template-go.svg)](https://pkg.go.dev/github.com/senzing/template-go) +[![Go Reference](https://pkg.go.dev/badge/github.com/senzing-garage/template-go.svg)](https://pkg.go.dev/github.com/senzing-garage/template-go) ## Docker diff --git a/examplepackage/doc.go b/examplepackage/doc.go index b912a6f..857e0ef 100644 --- a/examplepackage/doc.go +++ b/examplepackage/doc.go @@ -6,7 +6,7 @@ One or two sentence synopsis of the package... One or two paragraph overview of the package... (This page describes the nature of the individual package.) -More information at https://github.com/senzing/template-go +More information at https://github.com/senzing-garage/template-go # Another Header @@ -23,7 +23,7 @@ Examples of use can be seen in the examplepackage_test.go files. import ( fmt - "github.com/senzing/template-go/examplepackage" + "github.com/senzing-garage/template-go/examplepackage" ) func main() { diff --git a/examplepackage/examplepackage_examples_test.go b/examplepackage/examplepackage_examples_test.go index 95eda9b..7857b21 100644 --- a/examplepackage/examplepackage_examples_test.go +++ b/examplepackage/examplepackage_examples_test.go @@ -9,7 +9,7 @@ import ( // ---------------------------------------------------------------------------- func ExampleExamplePackageImpl_SaySomething() { - // For more information, visit https://github.com/Senzing/template-go/blob/main/examplepackage/examplepackage_test.go + // For more information, visit https://github.com/senzing-garage/template-go/blob/main/examplepackage/examplepackage_test.go ctx := context.TODO() examplePackage := &ExamplePackageImpl{ Something: "I'm here", diff --git a/go.mod b/go.mod index 3c27ab5..6d8680a 100644 --- a/go.mod +++ b/go.mod @@ -1,9 +1,9 @@ -module github.com/senzing/template-go +module github.com/senzing-garage/template-go go 1.21 require ( - github.com/senzing/go-cmdhelping v0.1.9 + github.com/senzing-garage/go-cmdhelping v0.2.0 github.com/spf13/cobra v1.8.0 github.com/spf13/viper v1.18.2 github.com/stretchr/testify v1.8.4 @@ -17,7 +17,7 @@ require ( 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.0 // indirect + github.com/pelletier/go-toml/v2 v2.1.1 // 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 @@ -28,7 +28,7 @@ require ( 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-20231127185646-65229373498e // 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 gopkg.in/ini.v1 v1.67.0 // indirect diff --git a/go.sum b/go.sum index 261f717..c69c641 100644 --- a/go.sum +++ b/go.sum @@ -22,8 +22,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.0 h1:FnwAJ4oYMvbT/34k9zzHuZNrhlz48GB3/s6at6/MHO4= -github.com/pelletier/go-toml/v2 v2.1.0/go.mod h1:tJU2Z3ZkXwnxa4DPO899bsyIoywizdUvyaeZurnPPDc= +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/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,8 +35,8 @@ 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/go-cmdhelping v0.1.9 h1:hUU7YH7BPeh8BmrH1WlrS/EfXmTeX3RY2zEv7rUM/6M= -github.com/senzing/go-cmdhelping v0.1.9/go.mod h1:n2BQAfW7+Er8Y4xobhNUZkuP1PWnHKsdqRxTC/IE4vc= +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/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= @@ -60,8 +60,8 @@ 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-20231127185646-65229373498e h1:Gvh4YaCaXNs6dKTlfgismwWZKyjVZXwOPfIyUaqU3No= -golang.org/x/exp v0.0.0-20231127185646-65229373498e/go.mod h1:iRJReGqOEeBhDZGkGbynYwcHlctCvnjTYIamk7uXpHI= +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= diff --git a/main.go b/main.go index 7603f01..eb0479a 100644 --- a/main.go +++ b/main.go @@ -5,7 +5,7 @@ package main import ( "log" - "github.com/senzing/template-go/cmd" + "github.com/senzing-garage/template-go/cmd" ) func main() {