Documentation ¶ Index ¶ Constants type Format func Autodetect(data string) (format Format) func AutodetectReader(r io.Reader) (format Format, r2 io.Reader, err error) func (f Format) ContentType() string func (i Format) String() string Constants ¶ View Source const ( Unknown = Format(iota) JSON FormData ) Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Format ¶ type Format int func Autodetect ¶ func Autodetect(data string) (format Format) func AutodetectReader ¶ func AutodetectReader(r io.Reader) (format Format, r2 io.Reader, err error) func (Format) ContentType ¶ func (f Format) ContentType() string func (Format) String ¶ func (i Format) String() string Source Files ¶ View all Source files datafmt.goformat_string.go Click to show internal directories. Click to hide internal directories.