Tempest Developer SDK for Go
The official Tempest SDK for Go.
Requirements
Installation
Make sure your project is using Go Modules (it will have a go.mod
file in its
root if it already is):
go mod init
Then, reference sdk-go in a Go program with import
:
import (
"github.com/tempestdx/sdk-go/app"
)
For more information on how to use the Tempest SDK for Go, see our
Hello World guide.
Documentation
For details on all the functionality in this SDK, see our
Go documentation.
Support
New features and bug fixes are released on the latest version of the Tempest SDK
library. If you're using an older major version, we recommend updating to the
latest version to access new features, benefit from recent bug fixes, and ensure
you have the latest security patches. Older major versions of the SDK will
continue to be available for use, but will not receive any further updates.
Development
Pull requests from the community are welcome. If you submit one, please keep the
following guidelines in mind:
- Code must be
go fmt
compliant.
- All types, structs and funcs should be documented.
- Ensure that
go test
succeeds.
Test
The test suite needs testify's require
package to run:
github.com/stretchr/testify/require
Before running any tests, make sure to grab all of the package's dependencies:
go get -t -v ./...
Run all tests:
go test -race -v ./...
Run tests for one package:
go test -v ./app/...
Run a single test:
go test -v ./app/... -run TestHealthCheck
To share any requests, bugs or comments, please open an issue or
submit a pull request.