Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 397 Bytes

USAGE.md

File metadata and controls

25 lines (21 loc) · 397 Bytes
package main

import (
	"context"
	oneofv1 "github.com/speakeasy-sdks/oneof-v1"
	"log"
)

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

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