Go — tape-go⌗
import (
"context"
tape "github.com/vamsiramakrishnan/durable-agents/tape/sdk/go"
"github.com/vamsiramakrishnan/durable-agents/tape/sdk/go/connectors"
)
func main() {
ctx := context.Background()
d, _ := tape.NewDurableApp(ctx, tape.DurableConfig{
Name: "treasury",
Budget: tape.Budget{USDCap: 50, TokenCap: 2_000_000},
})
defer d.Close()
// ... use d.Client ...
}
The full package reference is generated at build time from godoc via
gomarkdoc:
- Package reference
- Pub/Sub connector is gated behind the
pubsubbuild tag; Cloud Tasks behindcloudtasks. See Connectors guide.