package main
import (
"context"
testgo "github.com/speakeasy-sdks/test-go/v3"
"github.com/speakeasy-sdks/test-go/v3/pkg/models/shared"
"log"
)
func main() {
s := testgo.New()
ctx := context.Background()
res, err := s.CreateUserv1(ctx, shared.UserInput{
Country: "Benin",
Email: "Della67@yahoo.com",
Firstname: "Enrique",
Lastname: "Ernser",
Nickname: "<value>",
Password: "TOXx1B29WwlhtAA",
})
if err != nil {
log.Fatal(err)
}
if res.User != nil {
// handle response
}
}