github.com/axiomhq/axiom-go (go): Package axiom implements Go bindings for the Axiom API.  Usage:  Construct a new Axiom client, then use the various services on the client to access different parts of the Axiom API. The package automatically takes its configuration from the environment if not specified otherwise. Refer to axiom.NewClient for details. The token can be an api or personal token. The api token however, will just allow ingestion or querying into or from the datasets the token is valid for, depending on its assigned permissions.  To construct a client:  or with axiom.Option functions:  Get the current authenticated user:  NOTE: Every client method mapping to an API method takes a context.Context as its first parameter to pass cancellation signals and deadlines to requests. In case there is no context available, then context.Background can be used as a starting point.  For more code samples, check out the examples.
Keywords: api|api-client|axiom|go|golang|golang-library|golang-package