{"modulePath":"github.com/context-dot-dev/context-dev-cli","version":"v1.28.1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package apiform\n\n## Functions\n\n```go\nfunc Marshal(value any, writer *multipart.Writer) error\n```\nMarshal encodes a value as multipart form data using default settings\n\n```go\nfunc MarshalWithSettings(value any, writer *multipart.Writer, arrayFormat FormFormat) error\n```\nMarshalWithSettings encodes a value with custom array format\n\n## Types\n\n```go\ntype FormFormat int\n```\n\n```go\nconst (\n\t// FormatRepeat represents arrays as repeated keys with the same value\n\tFormatRepeat FormFormat = iota\n\t// Comma-separated values 1,2,3\n\tFormatComma\n\t// FormatBrackets uses the key[] notation for arrays\n\tFormatBrackets\n\t// FormatIndicesDots uses key.0, key.1, etc. notation\n\tFormatIndicesDots\n\t// FormatIndicesBrackets uses key[0], key[1], etc. notation\n\tFormatIndicesBrackets\n)\n```\n\n```go\ntype Marshaler interface {\n\tMarshalMultipart() ([]byte, string, error)\n}\n```\n\n","path":"github.com/context-dot-dev/context-dev-cli/internal/apiform","name":"apiform","synopsis":"","isRedistributable":true}
