Skip to content

Commit 966a7b3

Browse files
chore: go live (#1)
1 parent 5d9b63a commit 966a7b3

File tree

74 files changed

+554
-476
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+554
-476
lines changed

.release-please-manifest.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
".": "0.0.1-alpha.0"
3+
}

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ To use a local version of this library from source in another project, edit the
4141
directive. This can be done through the CLI with the following:
4242

4343
```sh
44-
$ go mod edit -replace github.com/stainless-sdks/gitpod-go=/path/to/gitpod-go
44+
$ go mod edit -replace github.com/gitpod-io/flex-sdk-go=/path/to/flex-sdk-go
4545
```
4646

4747
## Running tests

README.md

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Gitpod Go API Library
22

3-
<a href="https://pkg.go.dev/github.com/stainless-sdks/gitpod-go"><img src="https://pkg.go.dev/badge/github.com/stainless-sdks/gitpod-go.svg" alt="Go Reference"></a>
3+
<a href="https://pkg.go.dev/github.com/gitpod-io/flex-sdk-go"><img src="https://pkg.go.dev/badge/github.com/gitpod-io/flex-sdk-go.svg" alt="Go Reference"></a>
44

55
The Gitpod Go library provides convenient access to [the Gitpod REST
66
API](https://docs.gitpod.com) from applications written in Go. The full API of this library can be found in [api.md](api.md).
@@ -9,18 +9,26 @@ It is generated with [Stainless](https://www.stainlessapi.com/).
99

1010
## Installation
1111

12+
<!-- x-release-please-start-version -->
13+
1214
```go
1315
import (
14-
"github.com/stainless-sdks/gitpod-go" // imported as gitpod
16+
"github.com/gitpod-io/flex-sdk-go" // imported as gitpod
1517
)
1618
```
1719

20+
<!-- x-release-please-end -->
21+
1822
Or to pin the version:
1923

24+
<!-- x-release-please-start-version -->
25+
2026
```sh
21-
go get -u 'github.com/stainless-sdks/gitpod[email protected]'
27+
go get -u 'github.com/gitpod-io/flex-sdk[email protected]'
2228
```
2329

30+
<!-- x-release-please-end -->
31+
2432
## Requirements
2533

2634
This library requires Go 1.18+.
@@ -36,8 +44,8 @@ import (
3644
"context"
3745
"fmt"
3846

39-
"github.com/stainless-sdks/gitpod-go"
40-
"github.com/stainless-sdks/gitpod-go/option"
47+
"github.com/gitpod-io/flex-sdk-go"
48+
"github.com/gitpod-io/flex-sdk-go/option"
4149
)
4250

4351
func main() {
@@ -145,7 +153,7 @@ client.Runners.New(context.TODO(), ...,
145153
)
146154
```
147155

148-
See the [full list of request options](https://pkg.go.dev/github.com/stainless-sdks/gitpod-go/option).
156+
See the [full list of request options](https://pkg.go.dev/github.com/gitpod-io/flex-sdk-go/option).
149157

150158
### Pagination
151159

@@ -376,7 +384,7 @@ This package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) con
376384

377385
We take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.
378386

379-
We are keen for your feedback; please open an [issue](https://www.github.com/stainless-sdks/gitpod-go/issues) with questions, bugs, or suggestions.
387+
We are keen for your feedback; please open an [issue](https://www.github.com/gitpod-io/flex-sdk-go/issues) with questions, bugs, or suggestions.
380388

381389
## Contributing
382390

account.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ import (
77
"net/http"
88
"net/url"
99

10-
"github.com/stainless-sdks/gitpod-go/internal/apijson"
11-
"github.com/stainless-sdks/gitpod-go/internal/apiquery"
12-
"github.com/stainless-sdks/gitpod-go/internal/param"
13-
"github.com/stainless-sdks/gitpod-go/internal/requestconfig"
14-
"github.com/stainless-sdks/gitpod-go/option"
15-
"github.com/stainless-sdks/gitpod-go/packages/pagination"
10+
"github.com/gitpod-io/flex-sdk-go/internal/apijson"
11+
"github.com/gitpod-io/flex-sdk-go/internal/apiquery"
12+
"github.com/gitpod-io/flex-sdk-go/internal/param"
13+
"github.com/gitpod-io/flex-sdk-go/internal/requestconfig"
14+
"github.com/gitpod-io/flex-sdk-go/option"
15+
"github.com/gitpod-io/flex-sdk-go/packages/pagination"
1616
)
1717

1818
// AccountService contains methods and other services that help with interacting

account_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ import (
88
"os"
99
"testing"
1010

11-
"github.com/stainless-sdks/gitpod-go"
12-
"github.com/stainless-sdks/gitpod-go/internal/testutil"
13-
"github.com/stainless-sdks/gitpod-go/option"
11+
"github.com/gitpod-io/flex-sdk-go"
12+
"github.com/gitpod-io/flex-sdk-go/internal/testutil"
13+
"github.com/gitpod-io/flex-sdk-go/option"
1414
)
1515

1616
func TestAccountGet(t *testing.T) {

aliases.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
package gitpod
44

55
import (
6-
"github.com/stainless-sdks/gitpod-go/internal/apierror"
6+
"github.com/gitpod-io/flex-sdk-go/internal/apierror"
77
)
88

99
type Error = apierror.Error

api.md

Lines changed: 212 additions & 212 deletions
Large diffs are not rendered by default.

client.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77
"net/http"
88
"os"
99

10-
"github.com/stainless-sdks/gitpod-go/internal/requestconfig"
11-
"github.com/stainless-sdks/gitpod-go/option"
10+
"github.com/gitpod-io/flex-sdk-go/internal/requestconfig"
11+
"github.com/gitpod-io/flex-sdk-go/option"
1212
)
1313

1414
// Client creates a struct with services and top level methods that help with

client_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ import (
1010
"testing"
1111
"time"
1212

13-
"github.com/stainless-sdks/gitpod-go"
14-
"github.com/stainless-sdks/gitpod-go/internal"
15-
"github.com/stainless-sdks/gitpod-go/option"
13+
"github.com/gitpod-io/flex-sdk-go"
14+
"github.com/gitpod-io/flex-sdk-go/internal"
15+
"github.com/gitpod-io/flex-sdk-go/option"
1616
)
1717

1818
type closureTransport struct {

editor.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ import (
77
"net/http"
88
"net/url"
99

10-
"github.com/stainless-sdks/gitpod-go/internal/apijson"
11-
"github.com/stainless-sdks/gitpod-go/internal/apiquery"
12-
"github.com/stainless-sdks/gitpod-go/internal/param"
13-
"github.com/stainless-sdks/gitpod-go/internal/requestconfig"
14-
"github.com/stainless-sdks/gitpod-go/option"
15-
"github.com/stainless-sdks/gitpod-go/packages/pagination"
10+
"github.com/gitpod-io/flex-sdk-go/internal/apijson"
11+
"github.com/gitpod-io/flex-sdk-go/internal/apiquery"
12+
"github.com/gitpod-io/flex-sdk-go/internal/param"
13+
"github.com/gitpod-io/flex-sdk-go/internal/requestconfig"
14+
"github.com/gitpod-io/flex-sdk-go/option"
15+
"github.com/gitpod-io/flex-sdk-go/packages/pagination"
1616
)
1717

1818
// EditorService contains methods and other services that help with interacting

0 commit comments

Comments
 (0)