View definition

func NewReader(r Reader, boundary string) *Reader

Defined in github.com/golang/go/src/mime/multipart/multipart.go

Description

NewReader creates a new multipart Reader reading from r using the given MIME boundary.

The boundary is usually obtained from the “boundary” parameter of the message’s “Content-Type” header. Use mime.ParseMediaType to parse such headers.