# Packages
No description provided by the author
# README
github.com/speakeasy-sdks/advith-petstore-golang
SDK Installation
go get github.com/speakeasy-sdks/advith-petstore-golang
SDK Example Usage
package main
import(
"context"
"log"
"github.com/speakeasy-sdks/advith-petstore-golang"
)
func main() {
s := sdk.New()
ctx := context.Background()
res, err := s.Pets.CreatePets(ctx)
if err != nil {
log.Fatal(err)
}
if res.StatusCode == http.StatusOK {
// handle response
}
}
Available Resources and Operations
Pets
- CreatePets - Create a pet
- ListPets - List all pets
- ShowPetByID - Info for a specific pet