Skip to content

senzing-garage/go-sdk-abstract-factory

Repository files navigation

go-sdk-abstract-factory

If you are beginning your journey with Senzing, please start with Senzing Quick Start guides.

You are in the 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!

⚠️ WARNING: go-sdk-abstract-factory is still in development ⚠️ _

At the moment, this is "work-in-progress" with Semantic Versions of 0.n.x. Although it can be reviewed and commented on, the recommendation is not to use it yet.

Synopsis

The Senzing go-sdk-abstract-factory provides an abstract factory creator that construct a SzAbstractFactory Senzing objects.

Go Reference Badge Go Report Card Badge License Badge go-test-linux.yaml Badge go-test-darwin.yaml Badge go-test-windows.yaml Badge

golangci-lint.yaml Badge

Overview

Depending upon the szfactorycreator.CreateXxxxAbstractFactory(...) method called, one of the following AbstractFactory implementations will be returned:

  1. CreateCoreAbstractFactory(...) returns an AbstractFactory from sz-sdk-go-core for calling Senzing Go SDK APIs natively
  2. CreateGrpcAbstractFactory(...) returns an AbstractFactory from sz-sdk-go-grpc for calling Senzing Go SDK APIs via Senzing gRPC server
  3. CreateMockAbstractFactory(...) returns an AbstractFactory from sz-sdk-go-mock for unit testing calls to the Senzing Go SDK APIs

Use

(TODO:)

References

  1. API documentation
  2. Development
  3. Errors
  4. Examples