-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* #177 Migrate from g2 to er/sz * #177 Savepoint * #177 Savepoint * #177 Savepoint * #177 Prepare for versioned release
- Loading branch information
Showing
31 changed files
with
203 additions
and
144 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,45 @@ | ||
/* | ||
The Senzing sz-sdk-go packages contain interface definitions for the Senzing Go SDK. | ||
# Synopsis | ||
The Senzing sz-sdk-go packages contain definitions that are common to implementations of the Senzing Go SDK. | ||
The Senzing sz-sdk-go packages contain definitions, messages, and functions that are common to implementations of the Senzing Go SDK. | ||
# Overview | ||
The Senzing sz-sdk-go implementations enable Go programs to call Senzing library functions. | ||
Under the covers, Golang's CGO is used by the sz-sdk-go packages to make the calls | ||
to the Senzing C library functions. | ||
The Senzing [sz-sdk-go] implementations enable Go programs to call Senzing library functions. | ||
Implementations: | ||
- [sz-sdk-go-core] - An implementation that uses the Senzing native C binaries. | ||
- [sz-sdk-go-grpc] - An implementation that communicates with a [Senzing gRPC server]. | ||
- [sz-sdk-go-mock] - An implementation that creates Senzing [mock objects]. | ||
More information at https://github.com/senzing-garage/sz-sdk-go | ||
A client of the Senzing Go SDK API should use the following interfaces to maintain compatiblity across implementations. | ||
# Examples | ||
- [senzing.SzAbstractFactory] | ||
- [senzing.SzConfig] | ||
- [senzing.SzConfigManager] | ||
- [senzing.SzDiagnostic] | ||
- [senzing.SzEngine] | ||
- [senzing.SzProduct] | ||
Examples of use can be seen in the xxxx_test.go files. | ||
More information at [sz-sdk-go]. | ||
[mock objects]: https://en.wikipedia.org/wiki/Mock_object | ||
[Senzing gRPC server]: https://github.com/senzing-garage/serve-grpc | ||
[sz-sdk-go-core]: https://pkg.go.dev/github.com/senzing-garage/sz-sdk-go-core | ||
[sz-sdk-go-grpc]: https://pkg.go.dev/github.com/senzing-garage/sz-sdk-go-grpc | ||
[sz-sdk-go-mock]: https://pkg.go.dev/github.com/senzing-garage/sz-sdk-go-mock | ||
[sz-sdk-go]: https://github.com/senzing-garage/sz-sdk-go | ||
*/ | ||
package main | ||
|
||
import ( | ||
"github.com/senzing-garage/sz-sdk-go/senzing" | ||
) | ||
|
||
// Hack to import "senzing" | ||
func _() { | ||
_ = senzing.Bit18 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/* | ||
The response package... | ||
Package response is used to marshal JSON strings into Go objects. | ||
*/ | ||
package response |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/* | ||
Package senzing contains the Senzing Go SDK API interface. | ||
*/ | ||
package senzing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/* | ||
The szconfig package is a wrapper over Senzing's G2Config C binding. | ||
Package szconfig is used to modify the in-memory representation of a Senzing configuration. | ||
*/ | ||
package szconfig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/* | ||
The szconfigmanager package is a wrapper over Senzing's G2Configmgr C binding. | ||
Package szconfigmanager is used to modify Senzing configuration JSON documents in the Senzing datastore. | ||
*/ | ||
package szconfigmanager |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/* | ||
The szdiagnostic package is a wrapper over Senzing's G2Diagnostic C binding. | ||
Package szdiagnostic is used to inspect the Senzing environment. | ||
*/ | ||
package szdiagnostic |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.