With the release of Deephaven Community Core 0.15, a client API for the Go Programming Language is now available. You can stream, manipulate, download, and upload incrementally-updating tables in real time using Deephaven entirely from native Go code.
This article serves as a quick reference for everything you'll need to start using the client, so that you can leverage the full power of incremental table processing from Go.
How do I get started?
You'll need to be running a Deephaven Community Core server. Instructions on how to set one up are available here.
Then, you'll need a working Go install. Make a folder for your client application, and inside of it run:
$ go mod init example.com/my/client/app
$ go get github.com/deephaven/deephaven-core/go/pkg/client
Then, the client library is ready to import in your application:
import (
"github.com/deephaven/deephaven-core/go/pkg/client"
)
And that's it! You're ready to connect to a Deephaven server from Go.
Where can I learn more?
The documentation for the client can be found here. The docs include several useful examples, which cover all of the various features of the client, as well as detailed descriptions of all API features.
More information about Deephaven's capabilities, what client features are available, and an additional example can also be found in the previous blog post about the client.
Questions, Comments, Concerns?
If you start using the Go client and find a bug, want to make a feature request, have a question on how to use it, or just want to show off something cool you've made with it, feel free to post in the Deephaven Community Slack.