Bugs and feature requests welcome at https://github.com/InstaNode-dev/sdk-go/issues.
git clone https://github.com/InstaNode-dev/sdk-go
cd sdk-go
go build ./...
go vet ./...
go test ./... -short -p 1
All three must pass before opening a PR.
go run ./examples/agent-bootstrap
go run ./examples/provision-all
Set INSTANODE_API_URL=http://localhost:8080 to point at a local api instance.
- Follow existing patterns. The package is intentionally small + dependency-light.
- New public symbols get godoc comments.
- Tests next to source.
- Errors should wrap the underlying transport error so callers can
errors.Asto typed error values.
go build ./...greengo vet ./...greengo test ./... -short -p 1green- New public symbol → godoc
- New behaviour → test
- API-contract changes mirrored against the api OpenAPI spec at https://api.instanode.dev/openapi.json
MIT. By contributing, you agree your contributions are licensed under the same.