quickstart

command
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2026 License: Apache-2.0, Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Command quickstart is the Go SDK's example: list the collections of a hub, create an entry in the first one, read it back.

HUBTASK_URL=https://hubtask.example/api/v1 HUBTASK_TOKEN=hbt_pat_… HUBTASK_HUB=<hub-id> \
  go run ./sdk/go/examples/quickstart

Every call is the generated client's; the three helpers it uses beside them - WithBearer, Check, the idempotency key - are the whole of what the SDK adds by hand.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL