Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 373 Bytes

USAGE.md

File metadata and controls

25 lines (21 loc) · 373 Bytes
package main

import (
	"context"
	blakesapigo "github.com/speakeasy-sdks/blakes-api-go"
	"log"
)

func main() {
	s := blakesapigo.New()

	ctx := context.Background()
	res, err := s.PatchPets(ctx)
	if err != nil {
		log.Fatal(err)
	}
	if res.OneOf != nil {
		// handle response
	}
}