Help us shape the future of Go! Take the 2026 Go Developer Survey

apiform

package
v0.13.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 14, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Marshal

func Marshal(value any, writer *multipart.Writer) error

func MarshalWithSettings

func MarshalWithSettings(value any, writer *multipart.Writer, arrayFormat FormFormat) error

Types

type FormFormat

type FormFormat int
const (
	FormatRepeat FormFormat = iota
	FormatComma
	FormatBrackets
	FormatIndicesDots
	FormatIndicesBrackets
)

type Marshaler

type Marshaler interface {
	MarshalMultipart() ([]byte, string, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL