A go client for sending test results to Buildkite Test Analytics.
The go test tool outputs a stream of test events, so they can be streamed to Buildkite.
go test -json ./... | buildkite-test-analytics-go \
--api-token "$BUILDKITE_ANALYTICS_TOKEN" \
--key "$BUILDKITE_BUILD_ID"