diff options
| author | Dax Raad <[email protected]> | 2025-12-07 15:52:27 -0500 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2025-12-07 15:52:27 -0500 |
| commit | 13b2cf50aeb791f4b47786f95c8572a5caa75c7e (patch) | |
| tree | cea24f522f7e0de330475bf0be7803cdf1a33371 /packages/sdk/go/usage_test.go | |
| parent | 93b0abfce9660c4da21026b138857bf408aa4cae (diff) | |
| download | opencode-13b2cf50aeb791f4b47786f95c8572a5caa75c7e.tar.gz opencode-13b2cf50aeb791f4b47786f95c8572a5caa75c7e.zip | |
remove outdated SDKs
Diffstat (limited to 'packages/sdk/go/usage_test.go')
| -rw-r--r-- | packages/sdk/go/usage_test.go | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/packages/sdk/go/usage_test.go b/packages/sdk/go/usage_test.go deleted file mode 100644 index 2652b5829..000000000 --- a/packages/sdk/go/usage_test.go +++ /dev/null @@ -1,32 +0,0 @@ -// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. - -package opencode_test - -import ( - "context" - "os" - "testing" - - "github.com/sst/opencode-sdk-go" - "github.com/sst/opencode-sdk-go/internal/testutil" - "github.com/sst/opencode-sdk-go/option" -) - -func TestUsage(t *testing.T) { - baseURL := "http://localhost:4010" - if envURL, ok := os.LookupEnv("TEST_API_BASE_URL"); ok { - baseURL = envURL - } - if !testutil.CheckTestServer(t, baseURL) { - return - } - client := opencode.NewClient( - option.WithBaseURL(baseURL), - ) - sessions, err := client.Session.List(context.TODO(), opencode.SessionListParams{}) - if err != nil { - t.Error(err) - return - } - t.Logf("%+v\n", sessions) -} |
