diff --git a/.release-please-manifest.json b/.release-please-manifest.json
new file mode 100644
index 0000000..55f722d
--- /dev/null
+++ b/.release-please-manifest.json
@@ -0,0 +1,3 @@
+{
+ ".": "0.0.1-alpha.1"
+}
\ No newline at end of file
diff --git a/.stats.yml b/.stats.yml
index ae0037c..ae13f6b 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,4 +1,4 @@
configured_endpoints: 10
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/the-san-francisco-compute-company%2Fsfc-nodes-b800806859333bacc88fa4236eae35c8cdbec62970b7fb9ad440a330f24a1622.yml
openapi_spec_hash: fa672b6ca8953a8059961a7559a607a9
-config_hash: c41bbd00e07f543c79f5d6d61fbee825
+config_hash: 3e08ccabfd0014b8308a6dd422ed2523
diff --git a/CHANGELOG.md b/CHANGELOG.md
new file mode 100644
index 0000000..58674f3
--- /dev/null
+++ b/CHANGELOG.md
@@ -0,0 +1,10 @@
+# Changelog
+
+## 0.0.1-alpha.1 (2025-07-10)
+
+Full Changelog: [v0.0.1-alpha.0...v0.0.1-alpha.1](https://github.com/sfcompute/nodes-go/compare/v0.0.1-alpha.0...v0.0.1-alpha.1)
+
+### Chores
+
+* configure new SDK language ([6e68d64](https://github.com/sfcompute/nodes-go/commit/6e68d64dc949d10023baf84985a7aa35be588a0e))
+* update SDK settings ([ffa4444](https://github.com/sfcompute/nodes-go/commit/ffa4444199a4a95811ff66907dc56d71c356f921))
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index faa8c90..536f5f7 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -41,7 +41,7 @@ To use a local version of this library from source in another project, edit the
directive. This can be done through the CLI with the following:
```sh
-$ go mod edit -replace github.com/stainless-sdks/sfc-nodes-go=/path/to/sfc-nodes-go
+$ go mod edit -replace github.com/sfcompute/nodes-go=/path/to/nodes-go
```
## Running tests
diff --git a/README.md b/README.md
index 2350924..47b45b5 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
# SFC Nodes Go API Library
-
+
The SFC Nodes Go library provides convenient access to the [SFC Nodes REST API](https://docs.sfcompute.com/api-reference#tag/nodes)
from applications written in Go.
@@ -9,18 +9,26 @@ It is generated with [Stainless](https://www.stainless.com/).
## Installation
+
+
```go
import (
- "github.com/stainless-sdks/sfc-nodes-go" // imported as sfcnodes
+ "github.com/sfcompute/nodes-go" // imported as sfcnodes
)
```
+
+
Or to pin the version:
+
+
```sh
-go get -u 'github.com/stainless-sdks/sfc-nodes-go@v0.0.1-alpha.0'
+go get -u 'github.com/sfcompute/nodes-go@v0.0.1-alpha.1'
```
+
+
## Requirements
This library requires Go 1.18+.
@@ -36,8 +44,8 @@ import (
"context"
"fmt"
- "github.com/stainless-sdks/sfc-nodes-go"
- "github.com/stainless-sdks/sfc-nodes-go/option"
+ "github.com/sfcompute/nodes-go"
+ "github.com/sfcompute/nodes-go/option"
)
func main() {
@@ -264,7 +272,7 @@ client.Nodes.List(context.TODO(), ...,
The request option `option.WithDebugLog(nil)` may be helpful while debugging.
-See the [full list of request options](https://pkg.go.dev/github.com/stainless-sdks/sfc-nodes-go/option).
+See the [full list of request options](https://pkg.go.dev/github.com/sfcompute/nodes-go/option).
### Pagination
@@ -461,7 +469,7 @@ This package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) con
We take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.
-We are keen for your feedback; please open an [issue](https://www.github.com/stainless-sdks/sfc-nodes-go/issues) with questions, bugs, or suggestions.
+We are keen for your feedback; please open an [issue](https://www.github.com/sfcompute/nodes-go/issues) with questions, bugs, or suggestions.
## Contributing
diff --git a/aliases.go b/aliases.go
index e4f0514..0a63a38 100644
--- a/aliases.go
+++ b/aliases.go
@@ -3,8 +3,8 @@
package sfcnodes
import (
- "github.com/stainless-sdks/sfc-nodes-go/internal/apierror"
- "github.com/stainless-sdks/sfc-nodes-go/packages/param"
+ "github.com/sfcompute/nodes-go/internal/apierror"
+ "github.com/sfcompute/nodes-go/packages/param"
)
// aliased to make [param.APIUnion] private when embedding
diff --git a/api.md b/api.md
index 763d96e..7858d72 100644
--- a/api.md
+++ b/api.md
@@ -2,50 +2,50 @@
Response Types:
-- sfcnodes.VmListResponse
-- sfcnodes.VmLogsResponse
-- sfcnodes.VmReplaceResponse
-- sfcnodes.VmSSHResponse
+- sfcnodes.VmListResponse
+- sfcnodes.VmLogsResponse
+- sfcnodes.VmReplaceResponse
+- sfcnodes.VmSSHResponse
Methods:
-- client.Vms.List(ctx context.Context) (sfcnodes.VmListResponse, error)
-- client.Vms.Logs(ctx context.Context, query sfcnodes.VmLogsParams) (sfcnodes.VmLogsResponse, error)
-- client.Vms.Replace(ctx context.Context, body sfcnodes.VmReplaceParams) (sfcnodes.VmReplaceResponse, error)
-- client.Vms.SSH(ctx context.Context, query sfcnodes.VmSSHParams) (sfcnodes.VmSSHResponse, error)
+- client.Vms.List(ctx context.Context) (sfcnodes.VmListResponse, error)
+- client.Vms.Logs(ctx context.Context, query sfcnodes.VmLogsParams) (sfcnodes.VmLogsResponse, error)
+- client.Vms.Replace(ctx context.Context, body sfcnodes.VmReplaceParams) (sfcnodes.VmReplaceResponse, error)
+- client.Vms.SSH(ctx context.Context, query sfcnodes.VmSSHParams) (sfcnodes.VmSSHResponse, error)
## Script
Params Types:
-- sfcnodes.UserDataUnionParam
+- sfcnodes.UserDataUnionParam
Response Types:
-- sfcnodes.UserDataUnion
-- sfcnodes.VmScriptNewResponse
-- sfcnodes.VmScriptGetResponse
+- sfcnodes.UserDataUnion
+- sfcnodes.VmScriptNewResponse
+- sfcnodes.VmScriptGetResponse
Methods:
-- client.Vms.Script.New(ctx context.Context, body sfcnodes.VmScriptNewParams) (sfcnodes.VmScriptNewResponse, error)
-- client.Vms.Script.Get(ctx context.Context) (sfcnodes.VmScriptGetResponse, error)
+- client.Vms.Script.New(ctx context.Context, body sfcnodes.VmScriptNewParams) (sfcnodes.VmScriptNewResponse, error)
+- client.Vms.Script.Get(ctx context.Context) (sfcnodes.VmScriptGetResponse, error)
# Nodes
Params Types:
-- sfcnodes.NodeType
+- sfcnodes.NodeType
Response Types:
-- sfcnodes.Node
-- sfcnodes.NodeType
-- sfcnodes.UpdateNode
+- sfcnodes.Node
+- sfcnodes.NodeType
+- sfcnodes.UpdateNode
Methods:
-- client.Nodes.New(ctx context.Context, body sfcnodes.NodeNewParams) ([]sfcnodes.Node, error)
-- client.Nodes.List(ctx context.Context) ([]sfcnodes.Node, error)
-- client.Nodes.Extend(ctx context.Context, id string, body sfcnodes.NodeExtendParams) (sfcnodes.UpdateNode, error)
-- client.Nodes.Release(ctx context.Context, id string, body sfcnodes.NodeReleaseParams) (sfcnodes.UpdateNode, error)
+- client.Nodes.New(ctx context.Context, body sfcnodes.NodeNewParams) ([]sfcnodes.Node, error)
+- client.Nodes.List(ctx context.Context) ([]sfcnodes.Node, error)
+- client.Nodes.Extend(ctx context.Context, id string, body sfcnodes.NodeExtendParams) (sfcnodes.UpdateNode, error)
+- client.Nodes.Release(ctx context.Context, id string, body sfcnodes.NodeReleaseParams) (sfcnodes.UpdateNode, error)
diff --git a/client.go b/client.go
index b4fc1ec..728aeee 100644
--- a/client.go
+++ b/client.go
@@ -7,8 +7,8 @@ import (
"net/http"
"os"
- "github.com/stainless-sdks/sfc-nodes-go/internal/requestconfig"
- "github.com/stainless-sdks/sfc-nodes-go/option"
+ "github.com/sfcompute/nodes-go/internal/requestconfig"
+ "github.com/sfcompute/nodes-go/option"
)
// Client creates a struct with services and top level methods that help with
diff --git a/client_test.go b/client_test.go
index 3b280b8..f6d40b1 100644
--- a/client_test.go
+++ b/client_test.go
@@ -10,9 +10,9 @@ import (
"testing"
"time"
- "github.com/stainless-sdks/sfc-nodes-go"
- "github.com/stainless-sdks/sfc-nodes-go/internal"
- "github.com/stainless-sdks/sfc-nodes-go/option"
+ "github.com/sfcompute/nodes-go"
+ "github.com/sfcompute/nodes-go/internal"
+ "github.com/sfcompute/nodes-go/option"
)
type closureTransport struct {
diff --git a/field.go b/field.go
index 27351e8..8967052 100644
--- a/field.go
+++ b/field.go
@@ -1,7 +1,7 @@
package sfcnodes
import (
- "github.com/stainless-sdks/sfc-nodes-go/packages/param"
+ "github.com/sfcompute/nodes-go/packages/param"
"io"
"time"
)
diff --git a/go.mod b/go.mod
index bbd0b90..f115e1a 100644
--- a/go.mod
+++ b/go.mod
@@ -1,4 +1,4 @@
-module github.com/stainless-sdks/sfc-nodes-go
+module github.com/sfcompute/nodes-go
go 1.21
diff --git a/internal/apierror/apierror.go b/internal/apierror/apierror.go
index 73ebc9c..da282b4 100644
--- a/internal/apierror/apierror.go
+++ b/internal/apierror/apierror.go
@@ -7,8 +7,8 @@ import (
"net/http"
"net/http/httputil"
- "github.com/stainless-sdks/sfc-nodes-go/internal/apijson"
- "github.com/stainless-sdks/sfc-nodes-go/packages/respjson"
+ "github.com/sfcompute/nodes-go/internal/apijson"
+ "github.com/sfcompute/nodes-go/packages/respjson"
)
// Error represents an error that originates from the API, i.e. when a request is
diff --git a/internal/apiform/encoder.go b/internal/apiform/encoder.go
index 8ab1fda..16563e4 100644
--- a/internal/apiform/encoder.go
+++ b/internal/apiform/encoder.go
@@ -13,7 +13,7 @@ import (
"sync"
"time"
- "github.com/stainless-sdks/sfc-nodes-go/packages/param"
+ "github.com/sfcompute/nodes-go/packages/param"
)
var encoders sync.Map // map[encoderEntry]encoderFunc
diff --git a/internal/apiform/form_test.go b/internal/apiform/form_test.go
index 34431fe..0d05c4a 100644
--- a/internal/apiform/form_test.go
+++ b/internal/apiform/form_test.go
@@ -2,7 +2,7 @@ package apiform
import (
"bytes"
- "github.com/stainless-sdks/sfc-nodes-go/packages/param"
+ "github.com/sfcompute/nodes-go/packages/param"
"io"
"mime/multipart"
"strings"
diff --git a/internal/apiform/richparam.go b/internal/apiform/richparam.go
index 3c4b822..b50e778 100644
--- a/internal/apiform/richparam.go
+++ b/internal/apiform/richparam.go
@@ -1,7 +1,7 @@
package apiform
import (
- "github.com/stainless-sdks/sfc-nodes-go/packages/param"
+ "github.com/sfcompute/nodes-go/packages/param"
"mime/multipart"
"reflect"
)
diff --git a/internal/apijson/decodeparam_test.go b/internal/apijson/decodeparam_test.go
index 9ac2a53..8f08d4e 100644
--- a/internal/apijson/decodeparam_test.go
+++ b/internal/apijson/decodeparam_test.go
@@ -3,8 +3,8 @@ package apijson_test
import (
"encoding/json"
"fmt"
- "github.com/stainless-sdks/sfc-nodes-go/internal/apijson"
- "github.com/stainless-sdks/sfc-nodes-go/packages/param"
+ "github.com/sfcompute/nodes-go/internal/apijson"
+ "github.com/sfcompute/nodes-go/packages/param"
"reflect"
"testing"
)
diff --git a/internal/apijson/decoder.go b/internal/apijson/decoder.go
index d5ffb1f..b426199 100644
--- a/internal/apijson/decoder.go
+++ b/internal/apijson/decoder.go
@@ -7,7 +7,7 @@ package apijson
import (
"encoding/json"
"fmt"
- "github.com/stainless-sdks/sfc-nodes-go/packages/param"
+ "github.com/sfcompute/nodes-go/packages/param"
"reflect"
"strconv"
"sync"
diff --git a/internal/apijson/decoderesp_test.go b/internal/apijson/decoderesp_test.go
index 034a83b..b42e733 100644
--- a/internal/apijson/decoderesp_test.go
+++ b/internal/apijson/decoderesp_test.go
@@ -2,8 +2,8 @@ package apijson_test
import (
"encoding/json"
- "github.com/stainless-sdks/sfc-nodes-go/internal/apijson"
- "github.com/stainless-sdks/sfc-nodes-go/packages/respjson"
+ "github.com/sfcompute/nodes-go/internal/apijson"
+ "github.com/sfcompute/nodes-go/packages/respjson"
"testing"
)
diff --git a/internal/apijson/subfield.go b/internal/apijson/subfield.go
index 0d60a39..c3315ff 100644
--- a/internal/apijson/subfield.go
+++ b/internal/apijson/subfield.go
@@ -1,7 +1,7 @@
package apijson
import (
- "github.com/stainless-sdks/sfc-nodes-go/packages/respjson"
+ "github.com/sfcompute/nodes-go/packages/respjson"
"reflect"
)
diff --git a/internal/apijson/union.go b/internal/apijson/union.go
index e21a3af..7f3d8dc 100644
--- a/internal/apijson/union.go
+++ b/internal/apijson/union.go
@@ -2,7 +2,7 @@ package apijson
import (
"errors"
- "github.com/stainless-sdks/sfc-nodes-go/packages/param"
+ "github.com/sfcompute/nodes-go/packages/param"
"reflect"
"github.com/tidwall/gjson"
diff --git a/internal/apiquery/encoder.go b/internal/apiquery/encoder.go
index 1dcce98..96e583f 100644
--- a/internal/apiquery/encoder.go
+++ b/internal/apiquery/encoder.go
@@ -9,7 +9,7 @@ import (
"sync"
"time"
- "github.com/stainless-sdks/sfc-nodes-go/packages/param"
+ "github.com/sfcompute/nodes-go/packages/param"
)
var encoders sync.Map // map[reflect.Type]encoderFunc
diff --git a/internal/apiquery/query_test.go b/internal/apiquery/query_test.go
index 778f152..1e4ed70 100644
--- a/internal/apiquery/query_test.go
+++ b/internal/apiquery/query_test.go
@@ -1,7 +1,7 @@
package apiquery
import (
- "github.com/stainless-sdks/sfc-nodes-go/packages/param"
+ "github.com/sfcompute/nodes-go/packages/param"
"net/url"
"testing"
"time"
diff --git a/internal/apiquery/richparam.go b/internal/apiquery/richparam.go
index 3176728..b106153 100644
--- a/internal/apiquery/richparam.go
+++ b/internal/apiquery/richparam.go
@@ -1,7 +1,7 @@
package apiquery
import (
- "github.com/stainless-sdks/sfc-nodes-go/packages/param"
+ "github.com/sfcompute/nodes-go/packages/param"
"reflect"
)
diff --git a/internal/encoding/json/decode.go b/internal/encoding/json/decode.go
index bbe9b1d..03ed35e 100644
--- a/internal/encoding/json/decode.go
+++ b/internal/encoding/json/decode.go
@@ -14,7 +14,7 @@ import (
"encoding"
"encoding/base64"
"fmt"
- "github.com/stainless-sdks/sfc-nodes-go/internal/encoding/json/shims"
+ "github.com/sfcompute/nodes-go/internal/encoding/json/shims"
"reflect"
"strconv"
"strings"
diff --git a/internal/encoding/json/encode.go b/internal/encoding/json/encode.go
index 18dd6db..22c054b 100644
--- a/internal/encoding/json/encode.go
+++ b/internal/encoding/json/encode.go
@@ -19,8 +19,8 @@ import (
"encoding"
"encoding/base64"
"fmt"
- "github.com/stainless-sdks/sfc-nodes-go/internal/encoding/json/sentinel"
- "github.com/stainless-sdks/sfc-nodes-go/internal/encoding/json/shims"
+ "github.com/sfcompute/nodes-go/internal/encoding/json/sentinel"
+ "github.com/sfcompute/nodes-go/internal/encoding/json/shims"
"math"
"reflect"
"slices"
diff --git a/internal/encoding/json/sentinel/null.go b/internal/encoding/json/sentinel/null.go
index 6182007..2934516 100644
--- a/internal/encoding/json/sentinel/null.go
+++ b/internal/encoding/json/sentinel/null.go
@@ -1,7 +1,7 @@
package sentinel
import (
- "github.com/stainless-sdks/sfc-nodes-go/internal/encoding/json/shims"
+ "github.com/sfcompute/nodes-go/internal/encoding/json/shims"
"reflect"
"sync"
)
diff --git a/internal/encoding/json/sentinel/sentinel_test.go b/internal/encoding/json/sentinel/sentinel_test.go
index c1b96b0..91d5e73 100644
--- a/internal/encoding/json/sentinel/sentinel_test.go
+++ b/internal/encoding/json/sentinel/sentinel_test.go
@@ -1,8 +1,8 @@
package sentinel_test
import (
- "github.com/stainless-sdks/sfc-nodes-go/internal/encoding/json/sentinel"
- "github.com/stainless-sdks/sfc-nodes-go/packages/param"
+ "github.com/sfcompute/nodes-go/internal/encoding/json/sentinel"
+ "github.com/sfcompute/nodes-go/packages/param"
"reflect"
"slices"
"testing"
diff --git a/internal/encoding/json/time.go b/internal/encoding/json/time.go
index 637da39..9e3bda3 100644
--- a/internal/encoding/json/time.go
+++ b/internal/encoding/json/time.go
@@ -2,7 +2,7 @@
package json
import (
- "github.com/stainless-sdks/sfc-nodes-go/internal/encoding/json/shims"
+ "github.com/sfcompute/nodes-go/internal/encoding/json/shims"
"reflect"
"time"
)
diff --git a/internal/paramutil/field.go b/internal/paramutil/field.go
index 8e60442..1401d48 100644
--- a/internal/paramutil/field.go
+++ b/internal/paramutil/field.go
@@ -1,8 +1,8 @@
package paramutil
import (
- "github.com/stainless-sdks/sfc-nodes-go/packages/param"
- "github.com/stainless-sdks/sfc-nodes-go/packages/respjson"
+ "github.com/sfcompute/nodes-go/packages/param"
+ "github.com/sfcompute/nodes-go/packages/respjson"
)
func AddrIfPresent[T comparable](v param.Opt[T]) *T {
diff --git a/internal/paramutil/union.go b/internal/paramutil/union.go
index 453075f..ee26796 100644
--- a/internal/paramutil/union.go
+++ b/internal/paramutil/union.go
@@ -2,7 +2,7 @@ package paramutil
import (
"fmt"
- "github.com/stainless-sdks/sfc-nodes-go/packages/param"
+ "github.com/sfcompute/nodes-go/packages/param"
"reflect"
)
diff --git a/internal/requestconfig/requestconfig.go b/internal/requestconfig/requestconfig.go
index 8b16a6f..c0e6231 100644
--- a/internal/requestconfig/requestconfig.go
+++ b/internal/requestconfig/requestconfig.go
@@ -18,10 +18,10 @@ import (
"strings"
"time"
- "github.com/stainless-sdks/sfc-nodes-go/internal"
- "github.com/stainless-sdks/sfc-nodes-go/internal/apierror"
- "github.com/stainless-sdks/sfc-nodes-go/internal/apiform"
- "github.com/stainless-sdks/sfc-nodes-go/internal/apiquery"
+ "github.com/sfcompute/nodes-go/internal"
+ "github.com/sfcompute/nodes-go/internal/apierror"
+ "github.com/sfcompute/nodes-go/internal/apiform"
+ "github.com/sfcompute/nodes-go/internal/apiquery"
)
func getDefaultHeaders() map[string]string {
diff --git a/internal/version.go b/internal/version.go
index 1e49ee4..171bff9 100644
--- a/internal/version.go
+++ b/internal/version.go
@@ -2,4 +2,4 @@
package internal
-const PackageVersion = "0.0.1-alpha.0"
+const PackageVersion = "0.0.1-alpha.1" // x-release-please-version
diff --git a/node.go b/node.go
index 6fc4ac0..70ae784 100644
--- a/node.go
+++ b/node.go
@@ -9,11 +9,11 @@ import (
"fmt"
"net/http"
- "github.com/stainless-sdks/sfc-nodes-go/internal/apijson"
- "github.com/stainless-sdks/sfc-nodes-go/internal/requestconfig"
- "github.com/stainless-sdks/sfc-nodes-go/option"
- "github.com/stainless-sdks/sfc-nodes-go/packages/param"
- "github.com/stainless-sdks/sfc-nodes-go/packages/respjson"
+ "github.com/sfcompute/nodes-go/internal/apijson"
+ "github.com/sfcompute/nodes-go/internal/requestconfig"
+ "github.com/sfcompute/nodes-go/option"
+ "github.com/sfcompute/nodes-go/packages/param"
+ "github.com/sfcompute/nodes-go/packages/respjson"
)
// NodeService contains methods and other services that help with interacting with
diff --git a/node_test.go b/node_test.go
index 3493f22..8600afb 100644
--- a/node_test.go
+++ b/node_test.go
@@ -8,9 +8,9 @@ import (
"os"
"testing"
- "github.com/stainless-sdks/sfc-nodes-go"
- "github.com/stainless-sdks/sfc-nodes-go/internal/testutil"
- "github.com/stainless-sdks/sfc-nodes-go/option"
+ "github.com/sfcompute/nodes-go"
+ "github.com/sfcompute/nodes-go/internal/testutil"
+ "github.com/sfcompute/nodes-go/option"
)
func TestNodeNewWithOptionalParams(t *testing.T) {
diff --git a/option/requestoption.go b/option/requestoption.go
index e1bb0ac..7aac142 100644
--- a/option/requestoption.go
+++ b/option/requestoption.go
@@ -11,7 +11,7 @@ import (
"strings"
"time"
- "github.com/stainless-sdks/sfc-nodes-go/internal/requestconfig"
+ "github.com/sfcompute/nodes-go/internal/requestconfig"
"github.com/tidwall/sjson"
)
@@ -19,7 +19,7 @@ import (
// which can be supplied to clients, services, and methods. You can read more about this functional
// options pattern in our [README].
//
-// [README]: https://pkg.go.dev/github.com/stainless-sdks/sfc-nodes-go#readme-requestoptions
+// [README]: https://pkg.go.dev/github.com/sfcompute/nodes-go#readme-requestoptions
type RequestOption = requestconfig.RequestOption
// WithBaseURL returns a RequestOption that sets the BaseURL for the client.
diff --git a/packages/param/encoder.go b/packages/param/encoder.go
index 6d69469..e35ae27 100644
--- a/packages/param/encoder.go
+++ b/packages/param/encoder.go
@@ -6,7 +6,7 @@ import (
"reflect"
"time"
- shimjson "github.com/stainless-sdks/sfc-nodes-go/internal/encoding/json"
+ shimjson "github.com/sfcompute/nodes-go/internal/encoding/json"
"github.com/tidwall/sjson"
)
diff --git a/packages/param/encoder_test.go b/packages/param/encoder_test.go
index 296df07..f64ff67 100644
--- a/packages/param/encoder_test.go
+++ b/packages/param/encoder_test.go
@@ -5,7 +5,7 @@ import (
"testing"
"time"
- "github.com/stainless-sdks/sfc-nodes-go/packages/param"
+ "github.com/sfcompute/nodes-go/packages/param"
)
type Struct struct {
diff --git a/packages/param/null.go b/packages/param/null.go
index 9acb987..84da2ef 100644
--- a/packages/param/null.go
+++ b/packages/param/null.go
@@ -1,6 +1,6 @@
package param
-import "github.com/stainless-sdks/sfc-nodes-go/internal/encoding/json/sentinel"
+import "github.com/sfcompute/nodes-go/internal/encoding/json/sentinel"
// NullMap returns a non-nil map with a length of 0.
// When used with [MarshalObject] or [MarshalUnion], it will be marshaled as null.
diff --git a/packages/param/null_test.go b/packages/param/null_test.go
index a54fd02..82dab7a 100644
--- a/packages/param/null_test.go
+++ b/packages/param/null_test.go
@@ -2,7 +2,7 @@ package param_test
import (
"encoding/json"
- "github.com/stainless-sdks/sfc-nodes-go/packages/param"
+ "github.com/sfcompute/nodes-go/packages/param"
"testing"
)
diff --git a/packages/param/option.go b/packages/param/option.go
index c936818..1c1a6a7 100644
--- a/packages/param/option.go
+++ b/packages/param/option.go
@@ -3,7 +3,7 @@ package param
import (
"encoding/json"
"fmt"
- shimjson "github.com/stainless-sdks/sfc-nodes-go/internal/encoding/json"
+ shimjson "github.com/sfcompute/nodes-go/internal/encoding/json"
"time"
)
diff --git a/packages/param/param.go b/packages/param/param.go
index a93de5a..500a3f5 100644
--- a/packages/param/param.go
+++ b/packages/param/param.go
@@ -2,7 +2,7 @@ package param
import (
"encoding/json"
- "github.com/stainless-sdks/sfc-nodes-go/internal/encoding/json/sentinel"
+ "github.com/sfcompute/nodes-go/internal/encoding/json/sentinel"
"reflect"
)
diff --git a/packages/respjson/decoder_test.go b/packages/respjson/decoder_test.go
index 3b8cc07..d6c2b7d 100644
--- a/packages/respjson/decoder_test.go
+++ b/packages/respjson/decoder_test.go
@@ -3,8 +3,8 @@ package respjson_test
import (
"encoding/json"
"fmt"
- "github.com/stainless-sdks/sfc-nodes-go/internal/apijson"
- rj "github.com/stainless-sdks/sfc-nodes-go/packages/respjson"
+ "github.com/sfcompute/nodes-go/internal/apijson"
+ rj "github.com/sfcompute/nodes-go/packages/respjson"
"reflect"
"testing"
)
diff --git a/release-please-config.json b/release-please-config.json
new file mode 100644
index 0000000..a38198e
--- /dev/null
+++ b/release-please-config.json
@@ -0,0 +1,67 @@
+{
+ "packages": {
+ ".": {}
+ },
+ "$schema": "https://raw.githubusercontent.com/stainless-api/release-please/main/schemas/config.json",
+ "include-v-in-tag": true,
+ "include-component-in-tag": false,
+ "versioning": "prerelease",
+ "prerelease": true,
+ "bump-minor-pre-major": true,
+ "bump-patch-for-minor-pre-major": false,
+ "pull-request-header": "Automated Release PR",
+ "pull-request-title-pattern": "release: ${version}",
+ "changelog-sections": [
+ {
+ "type": "feat",
+ "section": "Features"
+ },
+ {
+ "type": "fix",
+ "section": "Bug Fixes"
+ },
+ {
+ "type": "perf",
+ "section": "Performance Improvements"
+ },
+ {
+ "type": "revert",
+ "section": "Reverts"
+ },
+ {
+ "type": "chore",
+ "section": "Chores"
+ },
+ {
+ "type": "docs",
+ "section": "Documentation"
+ },
+ {
+ "type": "style",
+ "section": "Styles"
+ },
+ {
+ "type": "refactor",
+ "section": "Refactors"
+ },
+ {
+ "type": "test",
+ "section": "Tests",
+ "hidden": true
+ },
+ {
+ "type": "build",
+ "section": "Build System"
+ },
+ {
+ "type": "ci",
+ "section": "Continuous Integration",
+ "hidden": true
+ }
+ ],
+ "release-type": "go",
+ "extra-files": [
+ "internal/version.go",
+ "README.md"
+ ]
+}
\ No newline at end of file
diff --git a/usage_test.go b/usage_test.go
index e944712..c9cd49c 100644
--- a/usage_test.go
+++ b/usage_test.go
@@ -7,9 +7,9 @@ import (
"os"
"testing"
- "github.com/stainless-sdks/sfc-nodes-go"
- "github.com/stainless-sdks/sfc-nodes-go/internal/testutil"
- "github.com/stainless-sdks/sfc-nodes-go/option"
+ "github.com/sfcompute/nodes-go"
+ "github.com/sfcompute/nodes-go/internal/testutil"
+ "github.com/sfcompute/nodes-go/option"
)
func TestUsage(t *testing.T) {
diff --git a/vm.go b/vm.go
index 84f5af2..e3d9f0c 100644
--- a/vm.go
+++ b/vm.go
@@ -7,12 +7,12 @@ import (
"net/http"
"net/url"
- "github.com/stainless-sdks/sfc-nodes-go/internal/apijson"
- "github.com/stainless-sdks/sfc-nodes-go/internal/apiquery"
- "github.com/stainless-sdks/sfc-nodes-go/internal/requestconfig"
- "github.com/stainless-sdks/sfc-nodes-go/option"
- "github.com/stainless-sdks/sfc-nodes-go/packages/param"
- "github.com/stainless-sdks/sfc-nodes-go/packages/respjson"
+ "github.com/sfcompute/nodes-go/internal/apijson"
+ "github.com/sfcompute/nodes-go/internal/apiquery"
+ "github.com/sfcompute/nodes-go/internal/requestconfig"
+ "github.com/sfcompute/nodes-go/option"
+ "github.com/sfcompute/nodes-go/packages/param"
+ "github.com/sfcompute/nodes-go/packages/respjson"
)
// VmService contains methods and other services that help with interacting with
diff --git a/vm_test.go b/vm_test.go
index 9e13184..d82085d 100644
--- a/vm_test.go
+++ b/vm_test.go
@@ -8,9 +8,9 @@ import (
"os"
"testing"
- "github.com/stainless-sdks/sfc-nodes-go"
- "github.com/stainless-sdks/sfc-nodes-go/internal/testutil"
- "github.com/stainless-sdks/sfc-nodes-go/option"
+ "github.com/sfcompute/nodes-go"
+ "github.com/sfcompute/nodes-go/internal/testutil"
+ "github.com/sfcompute/nodes-go/option"
)
func TestVmList(t *testing.T) {
diff --git a/vmscript.go b/vmscript.go
index a42f66a..278d01a 100644
--- a/vmscript.go
+++ b/vmscript.go
@@ -7,11 +7,11 @@ import (
"encoding/json"
"net/http"
- "github.com/stainless-sdks/sfc-nodes-go/internal/apijson"
- "github.com/stainless-sdks/sfc-nodes-go/internal/requestconfig"
- "github.com/stainless-sdks/sfc-nodes-go/option"
- "github.com/stainless-sdks/sfc-nodes-go/packages/param"
- "github.com/stainless-sdks/sfc-nodes-go/packages/respjson"
+ "github.com/sfcompute/nodes-go/internal/apijson"
+ "github.com/sfcompute/nodes-go/internal/requestconfig"
+ "github.com/sfcompute/nodes-go/option"
+ "github.com/sfcompute/nodes-go/packages/param"
+ "github.com/sfcompute/nodes-go/packages/respjson"
)
// VmScriptService contains methods and other services that help with interacting
diff --git a/vmscript_test.go b/vmscript_test.go
index 0eb5177..a72b883 100644
--- a/vmscript_test.go
+++ b/vmscript_test.go
@@ -8,9 +8,9 @@ import (
"os"
"testing"
- "github.com/stainless-sdks/sfc-nodes-go"
- "github.com/stainless-sdks/sfc-nodes-go/internal/testutil"
- "github.com/stainless-sdks/sfc-nodes-go/option"
+ "github.com/sfcompute/nodes-go"
+ "github.com/sfcompute/nodes-go/internal/testutil"
+ "github.com/sfcompute/nodes-go/option"
)
func TestVmScriptNew(t *testing.T) {