Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalWithSettings ¶
func MarshalWithSettings(value any, writer *multipart.Writer, arrayFormat FormFormat) error
MarshalWithSettings encodes a value with a custom array format.
Types ¶
type FormFormat ¶
type FormFormat int
const ( // FormatRepeat uses repeated keys. FormatRepeat FormFormat = iota // FormatComma joins values with commas. FormatComma // FormatBrackets uses key[]. FormatBrackets // FormatIndicesDots uses key.0 and key.1. FormatIndicesDots // FormatIndicesBrackets uses key[0] and key[1]. FormatIndicesBrackets )
Click to show internal directories.
Click to hide internal directories.