Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/speakeasy-sdks/sf-go
A go SDK for accessing the Sf-go API.
https://github.com/speakeasy-sdks/sf-go
Last synced: 2 days ago
JSON representation
A go SDK for accessing the Sf-go API.
- Host: GitHub
- URL: https://github.com/speakeasy-sdks/sf-go
- Owner: speakeasy-sdks
- License: mit
- Created: 2023-04-17T14:46:42.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-02T21:20:14.000Z (7 months ago)
- Last Synced: 2024-04-28T05:14:51.309Z (6 months ago)
- Size: 25.4 KB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
Cats Go SDK
## SDK Installation
```bash
go get github.com/speakeasy-sdks/Sf-go
```## SDK Example Usage
```go
package mainimport (
"context"
"log"
"github.com/speakeasy-sdks/Sf-go"
"github.com/speakeasy-sdks/Sf-go/pkg/models/shared"
"github.com/speakeasy-sdks/Sf-go/pkg/models/operations"
)func main() {
s := sdk.New()ctx := context.Background()
res, err := s.AppControllerGetHello(ctx)
if err != nil {
log.Fatal(err)
}if res.StatusCode == http.StatusOK {
// handle response
}
}
```## Available Resources and Operations
### SDK SDK
* `AppControllerGetHello`
* `CatControllerCreate`
* `CatControllerFindAll`
* `CatControllerFindOne`
* `CatControllerRemove`
* `CatControllerUpdate`### Maturity
This SDK is in beta and therefore, we recommend pinning usage to a specific package version.
This way, you can install the same version each time without breaking changes unless you are intentionally
looking for the latest version.### Contributions
While we value open-source contributions to this SDK, this library is generated and maintained programmatically.
Feel free to open a PR or a Github issue as a proof of concept and we'll do our best to include it in a future release !### SDK Created by [Speakeasy](https://docs.speakeasyapi.dev/docs/using-speakeasy/client-sdks)