Documentation ¶
Index ¶
- func EncodeQueryParam(params url.Values, key string, value interface{}) url.Values
- func StringToBoolPtr(ctx context.Context, input string) (*bool, error)
- func StringToIntPtr(ctx context.Context, input string) (*int64, error)
- func StringToStringPtr(ctx context.Context, input string) (*string, error)
- type JSONTime
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodeQueryParam ¶ added in v0.188.0
EncodeQueryParam takes a type generated by sysl-go and encodes it into a url.Values map. Calling Encode() on the returned object will serialise the values into a string using the default OpenAPI3.0 serialisation format. e.g duplicate=foo,duplicate=bar.
func StringToBoolPtr ¶
StringToBoolPtr takes a string and converts it to a bool pointer.
func StringToIntPtr ¶
StringToIntPtr takes a string and converts it to an integer pointer.
Types ¶
type JSONTime ¶
func StringToTimePtr ¶
StringToTimePtr takes a string and converts it to a time.Time pointer.
func (JSONTime) MarshalJSON ¶
func (*JSONTime) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.