diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 60b58bd..2cd7afc 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1,5 +1,5 @@ # Default code owner -* @Senzing/go-developers +* @senzing-garage/senzing-go-developers -/.github/ @Senzing/senzing-devsecops +/.github/ @senzing-garage/senzing-devsecops 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/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 e404949..661decb 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,17 @@ # g2-sdk-go-mock +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-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! + ## :warning: WARNING: g2-sdk-go-mock is still in development :warning: _ At the moment, this is "work-in-progress" with Semantic Versions of `0.n.x`. @@ -15,29 +27,29 @@ Senzing C SDK APIs. [![Go Reference](https://pkg.go.dev/badge/github.com/senzing/g2-sdk-go-mock.svg)](https://pkg.go.dev/github.com/senzing/g2-sdk-go-mock) [![Go Report Card](https://goreportcard.com/badge/github.com/senzing/g2-sdk-go-mock)](https://goreportcard.com/report/github.com/senzing/g2-sdk-go-mock) -[![License](https://img.shields.io/badge/License-Apache2-brightgreen.svg)](https://github.com/Senzing/g2-sdk-go-mock/blob/main/LICENSE) +[![License](https://img.shields.io/badge/License-Apache2-brightgreen.svg)](https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/LICENSE) -[![gosec.yaml](https://github.com/Senzing/g2-sdk-go-mock/actions/workflows/gosec.yaml/badge.svg)](https://github.com/Senzing/g2-sdk-go-mock/actions/workflows/gosec.yaml) -[![go-test-linux.yaml](https://github.com/Senzing/g2-sdk-go-mock/actions/workflows/go-test-linux.yaml/badge.svg)](https://github.com/Senzing/g2-sdk-go-mock/actions/workflows/go-test-linux.yaml) -[![go-test-darwin.yaml](https://github.com/Senzing/g2-sdk-go-mock/actions/workflows/go-test-darwin.yaml/badge.svg)](https://github.com/Senzing/g2-sdk-go-mock/actions/workflows/go-test-darwin.yaml) -[![go-test-windows.yaml](https://github.com/Senzing/g2-sdk-go-mock/actions/workflows/go-test-windows.yaml/badge.svg)](https://github.com/Senzing/g2-sdk-go-mock/actions/workflows/go-test-windows.yaml) +[![gosec.yaml](https://github.com/senzing-garage/g2-sdk-go-mock/actions/workflows/gosec.yaml/badge.svg)](https://github.com/senzing-garage/g2-sdk-go-mock/actions/workflows/gosec.yaml) +[![go-test-linux.yaml](https://github.com/senzing-garage/g2-sdk-go-mock/actions/workflows/go-test-linux.yaml/badge.svg)](https://github.com/senzing-garage/g2-sdk-go-mock/actions/workflows/go-test-linux.yaml) +[![go-test-darwin.yaml](https://github.com/senzing-garage/g2-sdk-go-mock/actions/workflows/go-test-darwin.yaml/badge.svg)](https://github.com/senzing-garage/g2-sdk-go-mock/actions/workflows/go-test-darwin.yaml) +[![go-test-windows.yaml](https://github.com/senzing-garage/g2-sdk-go-mock/actions/workflows/go-test-windows.yaml/badge.svg)](https://github.com/senzing-garage/g2-sdk-go-mock/actions/workflows/go-test-windows.yaml) ## Overview The Senzing `g2-sdk-go-mock` packages enable Go programs to simulate calling Senzing library functions. The `g2-sdk-go-mock` implementation of the -[g2-sdk-go](https://github.com/Senzing/g2-sdk-go) +[g2-sdk-go](https://github.com/senzing-garage/g2-sdk-go) interface does not require the Senzing C libraries to be installed. Other implementations of the -[g2-sdk-go](https://github.com/Senzing/g2-sdk-go) +[g2-sdk-go](https://github.com/senzing-garage/g2-sdk-go) interface include: -- [g2-sdk-go-base](https://github.com/Senzing/g2-sdk-go-base) - for +- [g2-sdk-go-base](https://github.com/senzing-garage/g2-sdk-go-base) - for calling Senzing Go SDK APIs natively -- [g2-sdk-go-grpc](https://github.com/Senzing/g2-sdk-go-grpc) - for +- [g2-sdk-go-grpc](https://github.com/senzing-garage/g2-sdk-go-grpc) - for calling Senzing SDK APIs over [gRPC](https://grpc.io/) -- [go-sdk-abstract-factory](https://github.com/Senzing/go-sdk-abstract-factory) - An +- [go-sdk-abstract-factory](https://github.com/senzing-garage/go-sdk-abstract-factory) - An [abstract factory pattern](https://en.wikipedia.org/wiki/Abstract_factory_pattern) for switching among implementations diff --git a/docs/development.md b/docs/development.md index c9a8010..9569297 100644 --- a/docs/development.md +++ b/docs/development.md @@ -19,7 +19,7 @@ The following instructions build the example `main.go` program. ``` -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. +1. Using the environment variables values just set, follow steps in [clone-repository](https://github.com/senzing-garage/knowledge-base/blob/main/HOWTO/clone-repository.md) to install the Git repository. ## Test diff --git a/g2config/g2config_examples_test.go b/g2config/g2config_examples_test.go index c60b331..e1cab64 100644 --- a/g2config/g2config_examples_test.go +++ b/g2config/g2config_examples_test.go @@ -14,7 +14,7 @@ import ( // ---------------------------------------------------------------------------- func ExampleG2config_SetObserverOrigin() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2config/g2config_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2config/g2config_examples_test.go ctx := context.TODO() g2config := getG2Config(ctx) origin := "Machine: nn; Task: UnitTest" @@ -23,7 +23,7 @@ func ExampleG2config_SetObserverOrigin() { } func ExampleG2config_GetObserverOrigin() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2config/g2config_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2config/g2config_examples_test.go ctx := context.TODO() g2config := getG2Config(ctx) origin := "Machine: nn; Task: UnitTest" @@ -34,7 +34,7 @@ func ExampleG2config_GetObserverOrigin() { } func ExampleG2config_AddDataSource() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2config/g2config_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2config/g2config_examples_test.go ctx := context.TODO() g2config := getG2Config(ctx) configHandle, err := g2config.Create(ctx) @@ -51,7 +51,7 @@ func ExampleG2config_AddDataSource() { } func ExampleG2config_Close() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2config/g2config_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2config/g2config_examples_test.go ctx := context.TODO() g2config := getG2Config(ctx) configHandle, err := g2config.Create(ctx) @@ -66,7 +66,7 @@ func ExampleG2config_Close() { } func ExampleG2config_Create() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2config/g2config_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2config/g2config_examples_test.go ctx := context.TODO() g2config := getG2Config(ctx) configHandle, err := g2config.Create(ctx) @@ -78,7 +78,7 @@ func ExampleG2config_Create() { } func ExampleG2config_DeleteDataSource() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2config/g2config_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2config/g2config_examples_test.go ctx := context.TODO() g2config := getG2Config(ctx) configHandle, err := g2config.Create(ctx) @@ -94,7 +94,7 @@ func ExampleG2config_DeleteDataSource() { } func ExampleG2config_ListDataSources() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2config/g2config_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2config/g2config_examples_test.go ctx := context.TODO() g2config := getG2Config(ctx) configHandle, err := g2config.Create(ctx) @@ -110,7 +110,7 @@ func ExampleG2config_ListDataSources() { } func ExampleG2config_Load() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2config/g2config_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2config/g2config_examples_test.go ctx := context.TODO() g2config := getG2Config(ctx) mockConfigHandle, err := g2config.Create(ctx) @@ -130,7 +130,7 @@ func ExampleG2config_Load() { } func ExampleG2config_Save() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2config/g2config_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2config/g2config_examples_test.go ctx := context.TODO() g2config := getG2Config(ctx) configHandle, err := g2config.Create(ctx) @@ -146,7 +146,7 @@ func ExampleG2config_Save() { } func ExampleG2config_SetLogLevel() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2config/g2config_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2config/g2config_examples_test.go ctx := context.TODO() g2config := getG2Config(ctx) err := g2config.SetLogLevel(ctx, logging.LevelInfoName) @@ -157,7 +157,7 @@ func ExampleG2config_SetLogLevel() { } func ExampleG2config_Init() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2config/g2config_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2config/g2config_examples_test.go ctx := context.TODO() g2config := getG2Config(ctx) moduleName := "Test module name" @@ -171,7 +171,7 @@ func ExampleG2config_Init() { } func ExampleG2config_Destroy() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2config/g2config_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2config/g2config_examples_test.go ctx := context.TODO() g2config := getG2Config(ctx) err := g2config.Destroy(ctx) diff --git a/g2configmgr/g2configmgr_examples_test.go b/g2configmgr/g2configmgr_examples_test.go index 7eaf464..119a1a5 100644 --- a/g2configmgr/g2configmgr_examples_test.go +++ b/g2configmgr/g2configmgr_examples_test.go @@ -14,7 +14,7 @@ import ( // ---------------------------------------------------------------------------- func ExampleG2configmgr_SetObserverOrigin() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2configmgr/g2configmgr_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2configmgr/g2configmgr_examples_test.go ctx := context.TODO() g2configmgr := getG2Configmgr(ctx) origin := "Machine: nn; Task: UnitTest" @@ -23,7 +23,7 @@ func ExampleG2configmgr_SetObserverOrigin() { } func ExampleG2configmgr_GetObserverOrigin() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2config/g2configmgr_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2config/g2configmgr_test.go ctx := context.TODO() g2configmgr := getG2Configmgr(ctx) origin := "Machine: nn; Task: UnitTest" @@ -34,7 +34,7 @@ func ExampleG2configmgr_GetObserverOrigin() { } func ExampleG2configmgr_AddConfig() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2configmgr/g2configmgr_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2configmgr/g2configmgr_examples_test.go ctx := context.TODO() g2configmgr := getG2Configmgr(ctx) configStr := `` @@ -48,7 +48,7 @@ func ExampleG2configmgr_AddConfig() { } func ExampleG2configmgr_GetConfig() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2configmgr/g2configmgr_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2configmgr/g2configmgr_examples_test.go ctx := context.TODO() g2configmgr := getG2Configmgr(ctx) configID, err := g2configmgr.GetDefaultConfigID(ctx) @@ -64,7 +64,7 @@ func ExampleG2configmgr_GetConfig() { } func ExampleG2configmgr_GetConfigList() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2configmgr/g2configmgr_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2configmgr/g2configmgr_examples_test.go ctx := context.TODO() g2configmgr := getG2Configmgr(ctx) jsonConfigList, err := g2configmgr.GetConfigList(ctx) @@ -76,7 +76,7 @@ func ExampleG2configmgr_GetConfigList() { } func ExampleG2configmgr_GetDefaultConfigID() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2configmgr/g2configmgr_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2configmgr/g2configmgr_examples_test.go ctx := context.TODO() g2configmgr := getG2Configmgr(ctx) configID, err := g2configmgr.GetDefaultConfigID(ctx) @@ -88,7 +88,7 @@ func ExampleG2configmgr_GetDefaultConfigID() { } func ExampleG2configmgr_ReplaceDefaultConfigID() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2configmgr/g2configmgr_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2configmgr/g2configmgr_examples_test.go ctx := context.TODO() g2configmgr := getG2Configmgr(ctx) oldConfigID := int64(1) @@ -101,7 +101,7 @@ func ExampleG2configmgr_ReplaceDefaultConfigID() { } func ExampleG2configmgr_SetDefaultConfigID() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2configmgr/g2configmgr_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2configmgr/g2configmgr_examples_test.go ctx := context.TODO() g2configmgr := getG2Configmgr(ctx) configID, err := g2configmgr.GetDefaultConfigID(ctx) // For example purposes only. Normally would use output from GetConfigList() @@ -116,7 +116,7 @@ func ExampleG2configmgr_SetDefaultConfigID() { } func ExampleG2configmgr_SetLogLevel() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2configmgr/g2configmgr_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2configmgr/g2configmgr_examples_test.go ctx := context.TODO() g2configmgr := getG2Configmgr(ctx) err := g2configmgr.SetLogLevel(ctx, logging.LevelInfoName) @@ -127,7 +127,7 @@ func ExampleG2configmgr_SetLogLevel() { } func ExampleG2configmgr_Init() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2configmgr/g2configmgr_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2configmgr/g2configmgr_examples_test.go ctx := context.TODO() g2configmgr := &G2configmgr{} moduleName := "Test module name" @@ -141,7 +141,7 @@ func ExampleG2configmgr_Init() { } func ExampleG2configmgr_Destroy() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2configmgr/g2configmgr_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2configmgr/g2configmgr_examples_test.go ctx := context.TODO() g2configmgr := getG2Configmgr(ctx) err := g2configmgr.Destroy(ctx) diff --git a/g2diagnostic/g2diagnostic_examples_test.go b/g2diagnostic/g2diagnostic_examples_test.go index 420bf30..5d0e154 100644 --- a/g2diagnostic/g2diagnostic_examples_test.go +++ b/g2diagnostic/g2diagnostic_examples_test.go @@ -12,7 +12,7 @@ import ( // ---------------------------------------------------------------------------- func ExampleG2diagnostic_SetObserverOrigin() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2diagnostic/g2diagnostic_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2diagnostic/g2diagnostic_examples_test.go ctx := context.TODO() g2diagnostic := getG2Diagnostic(ctx) origin := "Machine: nn; Task: UnitTest" @@ -21,7 +21,7 @@ func ExampleG2diagnostic_SetObserverOrigin() { } func ExampleG2diagnostic_GetObserverOrigin() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2config/g2diagnostic_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2config/g2diagnostic_test.go ctx := context.TODO() g2diagnostic := getG2Diagnostic(ctx) origin := "Machine: nn; Task: UnitTest" @@ -32,7 +32,7 @@ func ExampleG2diagnostic_GetObserverOrigin() { } func ExampleG2diagnostic_CheckDBPerf() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2diagnostic/g2diagnostic_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2diagnostic/g2diagnostic_examples_test.go ctx := context.TODO() g2diagnostic := getG2Diagnostic(ctx) secondsToRun := 1 @@ -45,7 +45,7 @@ func ExampleG2diagnostic_CheckDBPerf() { } // func ExampleG2diagnostic_CloseEntityListBySize() { -// // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2diagnostic/g2diagnostic_examples_test.go +// // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2diagnostic/g2diagnostic_examples_test.go // ctx := context.TODO() // g2diagnostic := getG2Diagnostic(ctx) // aSize := 1000 @@ -61,7 +61,7 @@ func ExampleG2diagnostic_CheckDBPerf() { // } // func ExampleG2diagnostic_FetchNextEntityBySize() { -// // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2diagnostic/g2diagnostic_examples_test.go +// // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2diagnostic/g2diagnostic_examples_test.go // ctx := context.TODO() // g2diagnostic := getG2Diagnostic(ctx) // aSize := 1 @@ -76,7 +76,7 @@ func ExampleG2diagnostic_CheckDBPerf() { // } // func ExampleG2diagnostic_FindEntitiesByFeatureIDs() { -// // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2diagnostic/g2diagnostic_examples_test.go +// // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2diagnostic/g2diagnostic_examples_test.go // ctx := context.TODO() // g2diagnostic := getG2Diagnostic(ctx) // features := `{"ENTITY_ID":1,"LIB_FEAT_IDS":[1,3,4]}` @@ -89,7 +89,7 @@ func ExampleG2diagnostic_CheckDBPerf() { // } func ExampleG2diagnostic_GetAvailableMemory() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2diagnostic/g2diagnostic_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2diagnostic/g2diagnostic_examples_test.go ctx := context.TODO() g2diagnostic := getG2Diagnostic(ctx) result, err := g2diagnostic.GetAvailableMemory(ctx) @@ -101,7 +101,7 @@ func ExampleG2diagnostic_GetAvailableMemory() { } // func ExampleG2diagnostic_GetDataSourceCounts() { -// // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2diagnostic/g2diagnostic_examples_test.go +// // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2diagnostic/g2diagnostic_examples_test.go // ctx := context.TODO() // g2diagnostic := getG2Diagnostic(ctx) // result, err := g2diagnostic.GetDataSourceCounts(ctx) @@ -113,7 +113,7 @@ func ExampleG2diagnostic_GetAvailableMemory() { // } func ExampleG2diagnostic_GetDBInfo() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2diagnostic/g2diagnostic_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2diagnostic/g2diagnostic_examples_test.go ctx := context.TODO() g2diagnostic := getG2Diagnostic(ctx) result, err := g2diagnostic.GetDBInfo(ctx) @@ -125,7 +125,7 @@ func ExampleG2diagnostic_GetDBInfo() { } // func ExampleG2diagnostic_GetEntityDetails() { -// // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2diagnostic/g2diagnostic_examples_test.go +// // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2diagnostic/g2diagnostic_examples_test.go // ctx := context.TODO() // g2diagnostic := getG2Diagnostic(ctx) // entityID := int64(1) @@ -139,7 +139,7 @@ func ExampleG2diagnostic_GetDBInfo() { // } // func ExampleG2diagnostic_GetEntityListBySize() { -// // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2diagnostic/g2diagnostic_examples_test.go +// // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2diagnostic/g2diagnostic_examples_test.go // ctx := context.TODO() // g2diagnostic := getG2Diagnostic(ctx) // entitySize := 1000 @@ -152,7 +152,7 @@ func ExampleG2diagnostic_GetDBInfo() { // } // func ExampleG2diagnostic_GetEntityResume() { -// // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2diagnostic/g2diagnostic_examples_test.go +// // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2diagnostic/g2diagnostic_examples_test.go // ctx := context.TODO() // g2diagnostic := getG2Diagnostic(ctx) // entityID := int64(1) @@ -165,7 +165,7 @@ func ExampleG2diagnostic_GetDBInfo() { // } // func ExampleG2diagnostic_GetEntitySizeBreakdown() { -// // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2diagnostic/g2diagnostic_examples_test.go +// // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2diagnostic/g2diagnostic_examples_test.go // ctx := context.TODO() // g2diagnostic := getG2Diagnostic(ctx) // minimumEntitySize := 1 @@ -179,7 +179,7 @@ func ExampleG2diagnostic_GetDBInfo() { // } // func ExampleG2diagnostic_GetFeature() { -// // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2diagnostic/g2diagnostic_examples_test.go +// // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2diagnostic/g2diagnostic_examples_test.go // ctx := context.TODO() // g2diagnostic := getG2Diagnostic(ctx) // libFeatID := int64(1) @@ -192,7 +192,7 @@ func ExampleG2diagnostic_GetDBInfo() { // } // func ExampleG2diagnostic_GetGenericFeatures() { -// // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2diagnostic/g2diagnostic_examples_test.go +// // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2diagnostic/g2diagnostic_examples_test.go // ctx := context.TODO() // g2diagnostic := getG2Diagnostic(ctx) // featureType := "PHONE" @@ -206,7 +206,7 @@ func ExampleG2diagnostic_GetDBInfo() { // } func ExampleG2diagnostic_GetLogicalCores() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2diagnostic/g2diagnostic_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2diagnostic/g2diagnostic_examples_test.go ctx := context.TODO() g2diagnostic := getG2Diagnostic(ctx) result, err := g2diagnostic.GetLogicalCores(ctx) @@ -218,7 +218,7 @@ func ExampleG2diagnostic_GetLogicalCores() { } // func ExampleG2diagnostic_GetMappingStatistics() { -// // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2diagnostic/g2diagnostic_examples_test.go +// // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2diagnostic/g2diagnostic_examples_test.go // ctx := context.TODO() // g2diagnostic := getG2Diagnostic(ctx) // includeInternalFeatures := 1 @@ -231,7 +231,7 @@ func ExampleG2diagnostic_GetLogicalCores() { // } func ExampleG2diagnostic_GetPhysicalCores() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2diagnostic/g2diagnostic_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2diagnostic/g2diagnostic_examples_test.go ctx := context.TODO() g2diagnostic := getG2Diagnostic(ctx) result, err := g2diagnostic.GetPhysicalCores(ctx) @@ -243,7 +243,7 @@ func ExampleG2diagnostic_GetPhysicalCores() { } // func ExampleG2diagnostic_GetRelationshipDetails() { -// // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2diagnostic/g2diagnostic_examples_test.go +// // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2diagnostic/g2diagnostic_examples_test.go // ctx := context.TODO() // g2diagnostic := getG2Diagnostic(ctx) // relationshipID := int64(1) @@ -257,7 +257,7 @@ func ExampleG2diagnostic_GetPhysicalCores() { // } // func ExampleG2diagnostic_GetResolutionStatistics() { -// // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2diagnostic/g2diagnostic_examples_test.go +// // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2diagnostic/g2diagnostic_examples_test.go // ctx := context.TODO() // g2diagnostic := getG2Diagnostic(ctx) // result, err := g2diagnostic.GetResolutionStatistics(ctx) @@ -269,7 +269,7 @@ func ExampleG2diagnostic_GetPhysicalCores() { // } func ExampleG2diagnostic_GetTotalSystemMemory() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2diagnostic/g2diagnostic_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2diagnostic/g2diagnostic_examples_test.go ctx := context.TODO() g2diagnostic := getG2Diagnostic(ctx) result, err := g2diagnostic.GetTotalSystemMemory(ctx) @@ -281,7 +281,7 @@ func ExampleG2diagnostic_GetTotalSystemMemory() { } // func ExampleG2diagnostic_SetLogLevel() { -// // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2diagnostic/g2diagnostic_examples_test.go +// // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2diagnostic/g2diagnostic_examples_test.go // g2diagnostic := &G2diagnosticClient{} // ctx := context.TODO() // err := g2diagnostic.SetLogLevel(ctx, logger.LevelInfo) @@ -292,7 +292,7 @@ func ExampleG2diagnostic_GetTotalSystemMemory() { // } func ExampleG2diagnostic_Init() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2diagnostic/g2diagnostic_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2diagnostic/g2diagnostic_examples_test.go ctx := context.TODO() g2diagnostic := &G2diagnostic{} moduleName := "Test module name" @@ -306,7 +306,7 @@ func ExampleG2diagnostic_Init() { } func ExampleG2diagnostic_InitWithConfigID() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2diagnostic/g2diagnostic_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2diagnostic/g2diagnostic_examples_test.go ctx := context.TODO() g2diagnostic := &G2diagnostic{} moduleName := "Test module name" @@ -321,7 +321,7 @@ func ExampleG2diagnostic_InitWithConfigID() { } func ExampleG2diagnostic_Reinit() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2diagnostic/g2diagnostic_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2diagnostic/g2diagnostic_examples_test.go ctx := context.TODO() g2diagnostic := getG2Diagnostic(ctx) initConfigID := int64(1) @@ -333,7 +333,7 @@ func ExampleG2diagnostic_Reinit() { } func ExampleG2diagnostic_Destroy() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2diagnostic/g2diagnostic_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2diagnostic/g2diagnostic_examples_test.go ctx := context.TODO() g2diagnostic := getG2Diagnostic(ctx) err := g2diagnostic.Destroy(ctx) diff --git a/g2engine/g2engine_examples_test.go b/g2engine/g2engine_examples_test.go index 45a286e..b45e141 100644 --- a/g2engine/g2engine_examples_test.go +++ b/g2engine/g2engine_examples_test.go @@ -15,7 +15,7 @@ import ( // ---------------------------------------------------------------------------- func ExampleG2engine_SetObserverOrigin() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) origin := "Machine: nn; Task: UnitTest" @@ -24,7 +24,7 @@ func ExampleG2engine_SetObserverOrigin() { } func ExampleG2engine_GetObserverOrigin() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2config/g2engine_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2config/g2engine_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) origin := "Machine: nn; Task: UnitTest" @@ -35,7 +35,7 @@ func ExampleG2engine_GetObserverOrigin() { } func ExampleG2engine_AddRecord() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) dataSourceCode := "CUSTOMERS" @@ -50,7 +50,7 @@ func ExampleG2engine_AddRecord() { } func ExampleG2engine_AddRecord_secondRecord() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) dataSourceCode := "CUSTOMERS" @@ -65,7 +65,7 @@ func ExampleG2engine_AddRecord_secondRecord() { } func ExampleG2engine_AddRecordWithInfo() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) dataSourceCode := "CUSTOMERS" @@ -82,7 +82,7 @@ func ExampleG2engine_AddRecordWithInfo() { } // func ExampleG2engine_AddRecordWithInfoWithReturnedRecordID() { -// // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go +// // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go // ctx := context.TODO() // g2engine := getG2Engine(ctx) // dataSourceCode := "CUSTOMERS" @@ -98,7 +98,7 @@ func ExampleG2engine_AddRecordWithInfo() { // } // func ExampleG2engine_AddRecordWithReturnedRecordID() { -// // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go +// // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go // ctx := context.TODO() // g2engine := getG2Engine(ctx) // dataSourceCode := "CUSTOMERS" @@ -113,7 +113,7 @@ func ExampleG2engine_AddRecordWithInfo() { // } // func ExampleG2engine_CheckRecord() { -// // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go +// // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go // ctx := context.TODO() // g2engine := getG2Engine(ctx) // record := `{"DATA_SOURCE": "CUSTOMERS", "RECORD_ID": "1001", "RECORD_TYPE": "PERSON", "PRIMARY_NAME_LAST": "Smith", "PRIMARY_NAME_FIRST": "Robert", "DATE_OF_BIRTH": "12/11/1978", "ADDR_TYPE": "MAILING", "ADDR_LINE1": "123 Main Street, Las Vegas NV 89132", "PHONE_TYPE": "HOME", "PHONE_NUMBER": "702-919-1300", "EMAIL_ADDRESS": "bsmith@work.com", "DATE": "1/2/18", "STATUS": "Active", "AMOUNT": "100"}` @@ -127,7 +127,7 @@ func ExampleG2engine_AddRecordWithInfo() { // } func ExampleG2engine_CloseExport() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) flags := int64(0) @@ -140,7 +140,7 @@ func ExampleG2engine_CloseExport() { } func ExampleG2engine_CountRedoRecords() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) result, err := g2engine.CountRedoRecords(ctx) @@ -152,7 +152,7 @@ func ExampleG2engine_CountRedoRecords() { } func ExampleG2engine_ExportConfig() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) result, err := g2engine.ExportConfig(ctx) @@ -164,7 +164,7 @@ func ExampleG2engine_ExportConfig() { } func ExampleG2engine_ExportConfigAndConfigID() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) _, configId, err := g2engine.ExportConfigAndConfigID(ctx) @@ -176,7 +176,7 @@ func ExampleG2engine_ExportConfigAndConfigID() { } func ExampleG2engine_ExportCSVEntityReport() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) csvColumnList := "" @@ -190,7 +190,7 @@ func ExampleG2engine_ExportCSVEntityReport() { } func ExampleG2engine_ExportCSVEntityReportIterator() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) csvColumnList := "" @@ -206,7 +206,7 @@ func ExampleG2engine_ExportCSVEntityReportIterator() { } func ExampleG2engine_ExportJSONEntityReport() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) flags := int64(0) @@ -219,7 +219,7 @@ func ExampleG2engine_ExportJSONEntityReport() { } func ExampleG2engine_ExportJSONEntityReportIterator() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) flags := int64(0) @@ -234,7 +234,7 @@ func ExampleG2engine_ExportJSONEntityReportIterator() { } func ExampleG2engine_FetchNext() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) flags := int64(0) @@ -263,7 +263,7 @@ func ExampleG2engine_FetchNext() { } func ExampleG2engine_FindInterestingEntitiesByEntityID() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) entityID := getEntityIdForRecord("CUSTOMERS", "1001") @@ -277,7 +277,7 @@ func ExampleG2engine_FindInterestingEntitiesByEntityID() { } func ExampleG2engine_FindInterestingEntitiesByRecordID() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) dataSourceCode := "CUSTOMERS" @@ -292,7 +292,7 @@ func ExampleG2engine_FindInterestingEntitiesByRecordID() { } func ExampleG2engine_FindNetworkByEntityID() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) entityList := `{"ENTITIES": [{"ENTITY_ID": ` + getEntityIdStringForRecord("CUSTOMERS", "1001") + `}, {"ENTITY_ID": ` + getEntityIdStringForRecord("CUSTOMERS", "1002") + `}]}` @@ -308,7 +308,7 @@ func ExampleG2engine_FindNetworkByEntityID() { } func ExampleG2engine_FindNetworkByEntityID_V2() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) entityList := `{"ENTITIES": [{"ENTITY_ID": ` + getEntityIdStringForRecord("CUSTOMERS", "1001") + `}, {"ENTITY_ID": ` + getEntityIdStringForRecord("CUSTOMERS", "1002") + `}]}` @@ -325,7 +325,7 @@ func ExampleG2engine_FindNetworkByEntityID_V2() { } func ExampleG2engine_FindNetworkByRecordID() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) recordList := `{"RECORDS": [{"DATA_SOURCE": "CUSTOMERS", "RECORD_ID": "1001"}, {"DATA_SOURCE": "CUSTOMERS", "RECORD_ID": "1002"}]}` @@ -341,7 +341,7 @@ func ExampleG2engine_FindNetworkByRecordID() { } func ExampleG2engine_FindNetworkByRecordID_V2() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) recordList := `{"RECORDS": [{"DATA_SOURCE": "CUSTOMERS", "RECORD_ID": "1001"}, {"DATA_SOURCE": "CUSTOMERS", "RECORD_ID": "1002"}]}` @@ -358,7 +358,7 @@ func ExampleG2engine_FindNetworkByRecordID_V2() { } func ExampleG2engine_FindPathByEntityID() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) entityID1 := getEntityIdForRecord("CUSTOMERS", "1001") @@ -373,7 +373,7 @@ func ExampleG2engine_FindPathByEntityID() { } func ExampleG2engine_FindPathByEntityID_V2() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) entityID1 := getEntityIdForRecord("CUSTOMERS", "1001") @@ -389,7 +389,7 @@ func ExampleG2engine_FindPathByEntityID_V2() { } func ExampleG2engine_FindPathByRecordID() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) dataSourceCode1 := "CUSTOMERS" @@ -406,7 +406,7 @@ func ExampleG2engine_FindPathByRecordID() { } func ExampleG2engine_FindPathByRecordID_V2() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) dataSourceCode1 := "CUSTOMERS" @@ -424,7 +424,7 @@ func ExampleG2engine_FindPathByRecordID_V2() { } func ExampleG2engine_FindPathExcludingByEntityID() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) entityID1 := getEntityIdForRecord("CUSTOMERS", "1001") @@ -440,7 +440,7 @@ func ExampleG2engine_FindPathExcludingByEntityID() { } func ExampleG2engine_FindPathExcludingByEntityID_V2() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) entityID1 := getEntityIdForRecord("CUSTOMERS", "1001") @@ -457,7 +457,7 @@ func ExampleG2engine_FindPathExcludingByEntityID_V2() { } func ExampleG2engine_FindPathExcludingByRecordID() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) dataSourceCode1 := "CUSTOMERS" @@ -475,7 +475,7 @@ func ExampleG2engine_FindPathExcludingByRecordID() { } func ExampleG2engine_FindPathExcludingByRecordID_V2() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) dataSourceCode1 := "CUSTOMERS" @@ -494,7 +494,7 @@ func ExampleG2engine_FindPathExcludingByRecordID_V2() { } func ExampleG2engine_FindPathIncludingSourceByEntityID() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) entityID1 := getEntityIdForRecord("CUSTOMERS", "1001") @@ -511,7 +511,7 @@ func ExampleG2engine_FindPathIncludingSourceByEntityID() { } func ExampleG2engine_FindPathIncludingSourceByEntityID_V2() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) entityID1 := getEntityIdForRecord("CUSTOMERS", "1001") @@ -529,7 +529,7 @@ func ExampleG2engine_FindPathIncludingSourceByEntityID_V2() { } func ExampleG2engine_FindPathIncludingSourceByRecordID() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) dataSourceCode1 := "CUSTOMERS" @@ -548,7 +548,7 @@ func ExampleG2engine_FindPathIncludingSourceByRecordID() { } func ExampleG2engine_FindPathIncludingSourceByRecordID_V2() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) dataSourceCode1 := "CUSTOMERS" @@ -568,7 +568,7 @@ func ExampleG2engine_FindPathIncludingSourceByRecordID_V2() { } func ExampleG2engine_GetActiveConfigID() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) result, err := g2engine.GetActiveConfigID(ctx) @@ -580,7 +580,7 @@ func ExampleG2engine_GetActiveConfigID() { } func ExampleG2engine_GetEntityByEntityID() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) entityID := getEntityIdForRecord("CUSTOMERS", "1001") @@ -593,7 +593,7 @@ func ExampleG2engine_GetEntityByEntityID() { } func ExampleG2engine_GetEntityByEntityID_V2() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) entityID := getEntityIdForRecord("CUSTOMERS", "1001") @@ -607,7 +607,7 @@ func ExampleG2engine_GetEntityByEntityID_V2() { } func ExampleG2engine_GetEntityByRecordID() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) dataSourceCode := "CUSTOMERS" @@ -621,7 +621,7 @@ func ExampleG2engine_GetEntityByRecordID() { } func ExampleG2engine_GetEntityByRecordID_V2() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) dataSourceCode := "CUSTOMERS" @@ -636,7 +636,7 @@ func ExampleG2engine_GetEntityByRecordID_V2() { } func ExampleG2engine_GetRecord() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) dataSourceCode := "CUSTOMERS" @@ -650,7 +650,7 @@ func ExampleG2engine_GetRecord() { } func ExampleG2engine_GetRecord_V2() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) dataSourceCode := "CUSTOMERS" @@ -665,7 +665,7 @@ func ExampleG2engine_GetRecord_V2() { } func ExampleG2engine_GetRedoRecord() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) result, err := g2engine.GetRedoRecord(ctx) @@ -677,7 +677,7 @@ func ExampleG2engine_GetRedoRecord() { } func ExampleG2engine_GetRepositoryLastModifiedTime() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) result, err := g2engine.GetRepositoryLastModifiedTime(ctx) @@ -689,7 +689,7 @@ func ExampleG2engine_GetRepositoryLastModifiedTime() { } func ExampleG2engine_GetVirtualEntityByRecordID() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) recordList := `{"RECORDS": [{"DATA_SOURCE": "CUSTOMERS","RECORD_ID": "1001"},{"DATA_SOURCE": "CUSTOMERS","RECORD_ID": "1002"}]}` @@ -702,7 +702,7 @@ func ExampleG2engine_GetVirtualEntityByRecordID() { } func ExampleG2engine_GetVirtualEntityByRecordID_V2() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) recordList := `{"RECORDS": [{"DATA_SOURCE": "CUSTOMERS","RECORD_ID": "1001"},{"DATA_SOURCE": "CUSTOMERS","RECORD_ID": "1002"}]}` @@ -716,7 +716,7 @@ func ExampleG2engine_GetVirtualEntityByRecordID_V2() { } func ExampleG2engine_HowEntityByEntityID() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) entityID := getEntityIdForRecord("CUSTOMERS", "1001") @@ -729,7 +729,7 @@ func ExampleG2engine_HowEntityByEntityID() { } func ExampleG2engine_HowEntityByEntityID_V2() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) entityID := getEntityIdForRecord("CUSTOMERS", "1001") @@ -743,7 +743,7 @@ func ExampleG2engine_HowEntityByEntityID_V2() { } func ExampleG2engine_PrimeEngine() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) err := g2engine.PrimeEngine(ctx) @@ -754,7 +754,7 @@ func ExampleG2engine_PrimeEngine() { } func ExampleG2engine_SearchByAttributes() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) jsonData := `{"NAMES": [{"NAME_TYPE": "PRIMARY", "NAME_LAST": "Smith"}], "EMAIL_ADDRESS": "bsmith@work.com"}` @@ -767,7 +767,7 @@ func ExampleG2engine_SearchByAttributes() { } func ExampleG2engine_SearchByAttributes_V2() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) jsonData := `{"NAMES": [{"NAME_TYPE": "PRIMARY", "NAME_LAST": "Smith"}], "EMAIL_ADDRESS": "bsmith@work.com"}` @@ -781,7 +781,7 @@ func ExampleG2engine_SearchByAttributes_V2() { } func ExampleG2engine_SetLogLevel() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) err := g2engine.SetLogLevel(ctx, logging.LevelInfoName) @@ -792,7 +792,7 @@ func ExampleG2engine_SetLogLevel() { } func ExampleG2engine_Stats() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) result, err := g2engine.Stats(ctx) @@ -804,7 +804,7 @@ func ExampleG2engine_Stats() { } func ExampleG2engine_WhyEntities() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) entityID1 := getEntityId(truthset.CustomerRecords["1001"]) @@ -818,7 +818,7 @@ func ExampleG2engine_WhyEntities() { } func ExampleG2engine_WhyEntities_V2() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) entityID1 := getEntityId(truthset.CustomerRecords["1001"]) @@ -833,7 +833,7 @@ func ExampleG2engine_WhyEntities_V2() { } func ExampleG2engine_WhyEntityByEntityID() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) entityID := getEntityIdForRecord("CUSTOMERS", "1001") @@ -846,7 +846,7 @@ func ExampleG2engine_WhyEntityByEntityID() { } func ExampleG2engine_WhyEntityByEntityID_V2() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) entityID := getEntityIdForRecord("CUSTOMERS", "1001") @@ -860,7 +860,7 @@ func ExampleG2engine_WhyEntityByEntityID_V2() { } func ExampleG2engine_WhyEntityByRecordID() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) dataSourceCode := "CUSTOMERS" @@ -874,7 +874,7 @@ func ExampleG2engine_WhyEntityByRecordID() { } func ExampleG2engine_WhyEntityByRecordID_V2() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) dataSourceCode := "CUSTOMERS" @@ -889,7 +889,7 @@ func ExampleG2engine_WhyEntityByRecordID_V2() { } func ExampleG2engine_WhyRecords() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) dataSourceCode1 := "CUSTOMERS" @@ -905,7 +905,7 @@ func ExampleG2engine_WhyRecords() { } func ExampleG2engine_WhyRecords_V2() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) dataSourceCode1 := "CUSTOMERS" @@ -922,7 +922,7 @@ func ExampleG2engine_WhyRecords_V2() { } func ExampleG2engine_Process() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) record := `{"DATA_SOURCE": "CUSTOMERS", "RECORD_ID": "1001", "RECORD_TYPE": "PERSON", "PRIMARY_NAME_LAST": "Smith", "PRIMARY_NAME_FIRST": "Robert", "DATE_OF_BIRTH": "12/11/1978", "ADDR_TYPE": "MAILING", "ADDR_LINE1": "123 Main Street, Las Vegas NV 89132", "PHONE_TYPE": "HOME", "PHONE_NUMBER": "702-919-1300", "EMAIL_ADDRESS": "bsmith@work.com", "DATE": "1/2/18", "STATUS": "Active", "AMOUNT": "100"}` @@ -934,7 +934,7 @@ func ExampleG2engine_Process() { } // func ExampleG2engine_ProcessRedoRecord() { -// // For more information, visit https://github.com/Senzing/g2-sdk-go-base/blob/main/g2engine/g2engine_test.go +// // For more information, visit https://github.com/senzing-garage/g2-sdk-go-base/blob/main/g2engine/g2engine_test.go // ctx := context.TODO() // g2engine := getG2Engine(ctx) // result, err := g2engine.ProcessRedoRecord(ctx) @@ -946,7 +946,7 @@ func ExampleG2engine_Process() { // } // func ExampleG2engine_ProcessRedoRecordWithInfo() { -// // For more information, visit https://github.com/Senzing/g2-sdk-go-base/blob/main/g2engine/g2engine_test.go +// // For more information, visit https://github.com/senzing-garage/g2-sdk-go-base/blob/main/g2engine/g2engine_test.go // ctx := context.TODO() // g2engine := getG2Engine(ctx) // flags := int64(0) @@ -959,7 +959,7 @@ func ExampleG2engine_Process() { // } func ExampleG2engine_ProcessWithInfo() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) record := `{"DATA_SOURCE": "CUSTOMERS", "RECORD_ID": "1001", "RECORD_TYPE": "PERSON", "PRIMARY_NAME_LAST": "Smith", "PRIMARY_NAME_FIRST": "Robert", "DATE_OF_BIRTH": "12/11/1978", "ADDR_TYPE": "MAILING", "ADDR_LINE1": "123 Main Street, Las Vegas NV 89132", "PHONE_TYPE": "HOME", "PHONE_NUMBER": "702-919-1300", "EMAIL_ADDRESS": "bsmith@work.com", "DATE": "1/2/18", "STATUS": "Active", "AMOUNT": "100"}` @@ -973,7 +973,7 @@ func ExampleG2engine_ProcessWithInfo() { } // func ExampleG2engine_ProcessWithResponse() { -// // For more information, visit https://github.com/Senzing/g2-sdk-go-base/blob/main/g2engine/g2engine_test.go +// // For more information, visit https://github.com/senzing-garage/g2-sdk-go-base/blob/main/g2engine/g2engine_test.go // ctx := context.TODO() // g2engine := getG2Engine(ctx) // record := `{"DATA_SOURCE": "CUSTOMERS", "RECORD_ID": "1001", "RECORD_TYPE": "PERSON", "PRIMARY_NAME_LAST": "Smith", "PRIMARY_NAME_FIRST": "Robert", "DATE_OF_BIRTH": "12/11/1978", "ADDR_TYPE": "MAILING", "ADDR_LINE1": "123 Main Street, Las Vegas NV 89132", "PHONE_TYPE": "HOME", "PHONE_NUMBER": "702-919-1300", "EMAIL_ADDRESS": "bsmith@work.com", "DATE": "1/2/18", "STATUS": "Active", "AMOUNT": "100"}` @@ -986,7 +986,7 @@ func ExampleG2engine_ProcessWithInfo() { // } // func ExampleG2engine_ProcessWithResponseResize() { -// // For more information, visit https://github.com/Senzing/g2-sdk-go-base/blob/main/g2engine/g2engine_test.go +// // For more information, visit https://github.com/senzing-garage/g2-sdk-go-base/blob/main/g2engine/g2engine_test.go // ctx := context.TODO() // g2engine := getG2Engine(ctx) // record := `{"DATA_SOURCE": "CUSTOMERS", "RECORD_ID": "1001", "RECORD_TYPE": "PERSON", "PRIMARY_NAME_LAST": "Smith", "PRIMARY_NAME_FIRST": "Robert", "DATE_OF_BIRTH": "12/11/1978", "ADDR_TYPE": "MAILING", "ADDR_LINE1": "123 Main Street, Las Vegas NV 89132", "PHONE_TYPE": "HOME", "PHONE_NUMBER": "702-919-1300", "EMAIL_ADDRESS": "bsmith@work.com", "DATE": "1/2/18", "STATUS": "Active", "AMOUNT": "100"}` @@ -999,7 +999,7 @@ func ExampleG2engine_ProcessWithInfo() { // } func ExampleG2engine_ReevaluateEntity() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) entityID := getEntityIdForRecord("CUSTOMERS", "1001") @@ -1011,7 +1011,7 @@ func ExampleG2engine_ReevaluateEntity() { // Output: } func ExampleG2engine_ReevaluateEntityWithInfo() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) entityID := getEntityIdForRecord("CUSTOMERS", "1001") @@ -1025,7 +1025,7 @@ func ExampleG2engine_ReevaluateEntityWithInfo() { } func ExampleG2engine_ReevaluateRecord() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) dataSourceCode := "CUSTOMERS" @@ -1039,7 +1039,7 @@ func ExampleG2engine_ReevaluateRecord() { } func ExampleG2engine_ReevaluateRecordWithInfo() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) dataSourceCode := "CUSTOMERS" @@ -1054,7 +1054,7 @@ func ExampleG2engine_ReevaluateRecordWithInfo() { } func ExampleG2engine_ReplaceRecord() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) dataSourceCode := "CUSTOMERS" @@ -1069,7 +1069,7 @@ func ExampleG2engine_ReplaceRecord() { } func ExampleG2engine_ReplaceRecordWithInfo() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) dataSourceCode := "CUSTOMERS" @@ -1086,7 +1086,7 @@ func ExampleG2engine_ReplaceRecordWithInfo() { } func ExampleG2engine_DeleteRecord() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) dataSourceCode := "CUSTOMERS" @@ -1100,7 +1100,7 @@ func ExampleG2engine_DeleteRecord() { } func ExampleG2engine_DeleteRecordWithInfo() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) dataSourceCode := "CUSTOMERS" @@ -1116,7 +1116,7 @@ func ExampleG2engine_DeleteRecordWithInfo() { } func ExampleG2engine_Init() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) moduleName := "Test module name" @@ -1130,7 +1130,7 @@ func ExampleG2engine_Init() { } func ExampleG2engine_InitWithConfigID() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) moduleName := "Test module name" @@ -1145,7 +1145,7 @@ func ExampleG2engine_InitWithConfigID() { } func ExampleG2engine_Reinit() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) initConfigID, _ := g2engine.GetActiveConfigID(ctx) // Example initConfigID. @@ -1157,7 +1157,7 @@ func ExampleG2engine_Reinit() { } func ExampleG2engine_PurgeRepository() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) err := g2engine.PurgeRepository(ctx) @@ -1168,7 +1168,7 @@ func ExampleG2engine_PurgeRepository() { } func ExampleG2engine_Destroy() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2engine/g2engine_examples_test.go ctx := context.TODO() g2engine := getG2Engine(ctx) err := g2engine.Destroy(ctx) diff --git a/g2product/g2product_examples_test.go b/g2product/g2product_examples_test.go index 6e2ad26..44d49f9 100644 --- a/g2product/g2product_examples_test.go +++ b/g2product/g2product_examples_test.go @@ -14,7 +14,7 @@ import ( // ---------------------------------------------------------------------------- func ExampleG2product_SetObserverOrigin() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2product/g2product_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2product/g2product_examples_test.go ctx := context.TODO() g2product := getG2Product(ctx) origin := "Machine: nn; Task: UnitTest" @@ -23,7 +23,7 @@ func ExampleG2product_SetObserverOrigin() { } func ExampleG2product_GetObserverOrigin() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2config/g2product_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2config/g2product_test.go ctx := context.TODO() g2product := getG2Product(ctx) origin := "Machine: nn; Task: UnitTest" @@ -34,7 +34,7 @@ func ExampleG2product_GetObserverOrigin() { } func ExampleG2product_Init() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2product/g2product_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2product/g2product_examples_test.go ctx := context.TODO() g2product := getG2Product(ctx) moduleName := "Test module name" @@ -48,7 +48,7 @@ func ExampleG2product_Init() { } func ExampleG2product_License() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2product/g2product_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2product/g2product_examples_test.go ctx := context.TODO() g2product := getG2Product(ctx) result, err := g2product.License(ctx) @@ -60,7 +60,7 @@ func ExampleG2product_License() { } func ExampleG2product_SetLogLevel() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2product/g2product_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2product/g2product_examples_test.go ctx := context.TODO() g2product := getG2Product(ctx) err := g2product.SetLogLevel(ctx, logging.LevelInfoName) @@ -71,7 +71,7 @@ func ExampleG2product_SetLogLevel() { } func ExampleG2product_Version() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2product/g2product_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2product/g2product_examples_test.go ctx := context.TODO() g2product := getG2Product(ctx) result, err := g2product.Version(ctx) @@ -83,7 +83,7 @@ func ExampleG2product_Version() { } func ExampleG2product_Destroy() { - // For more information, visit https://github.com/Senzing/g2-sdk-go-mock/blob/main/g2product/g2product_examples_test.go + // For more information, visit https://github.com/senzing-garage/g2-sdk-go-mock/blob/main/g2product/g2product_examples_test.go ctx := context.TODO() g2product := getG2Product(ctx) err := g2product.Destroy(ctx)