Versions in this module Expand all Collapse all v0 v0.1.0 Jan 24, 2024 Changes in this version + func Bool(value bool) param.Field[bool] + func F[T any](value T) param.Field[T] + func Float(value float64) param.Field[float64] + func Int(value int64) param.Field[int64] + func Null[T any]() param.Field[T] + func Raw[T any](value any) param.Field[T] + func String(value string) param.Field[string] + type Client struct + Options []option.RequestOption + Pets *PetService + func NewClient(opts ...option.RequestOption) (r *Client) + type Error = apierror.Error + type Pet struct + ID int64 + JSON petJSON + Name string + Tag string + func (r *Pet) UnmarshalJSON(data []byte) (err error) + type PetListParams struct + Limit param.Field[int64] + func (r PetListParams) URLQuery() (v url.Values) + type PetNewParams struct + ID param.Field[int64] + Name param.Field[string] + Tag param.Field[string] + func (r PetNewParams) MarshalJSON() (data []byte, err error) + type PetService struct + Options []option.RequestOption + func NewPetService(opts ...option.RequestOption) (r *PetService) + func (r *PetService) Get(ctx context.Context, petID string, opts ...option.RequestOption) (res *Pet, err error) + func (r *PetService) List(ctx context.Context, query PetListParams, opts ...option.RequestOption) (res *Pets, err error) + func (r *PetService) New(ctx context.Context, body PetNewParams, opts ...option.RequestOption) (err error) + type Pets []Pet