github.com/rockset/rockset-go-client (go): Package rockset provides a go client to interact with the Rockset database.  The client uses the Rockset REST API https://docs.rockset.com/rest-api/, and is an OpenAPI generated code by https://openapi-generator.tech/.  It provides convenience functions for all API calls to make the generated client easier to use, by wrapping the API calls in methods that require passing a context.Context and having all required arguments in the method signature, so that as many errors as possible are caught at compile time instead of at runtime. It uses functional options for any optional arguments. The convenience methods return the payload data from the models package, to reduce the indirection.  All methods also automatically retries any retryable error returned by the Rockset API, using exponential back-off. The retryable errors are defined in rockset.RetryableErrors.  If a zerolog logger is set in the context, the methods will log to it. E.g.  Example log output  Raw usage of the openapi client  Example code to first create an S3 integration, then create a collection from the integration, and finally clean up.  Use govcr to record API calls as fixtures and then replay them. The settings remove the HTTP header "Authorization" which is where the Rockset API key resides. See https://github.com/seborama/govcr for information how to use govcr.
Keywords: client|go|realtime-database|rockset