func NewAttachment(filename, contentType string, body io.ReadCloser) *Attachment {
	return &Attachment{
		ReadCloser:  body,
		Filename:    filename,
		ContentType: contentType,
	}
}
// NewAttachment returns a new CouchDB attachment.
NewAttachment returns a new CouchDB attachment.
// NewAttachment returns a new CouchDB attachment .
func NewAttachment(filename, contentType string, body io.ReadCloser) *Attachment {
	return &Attachment{
		ReadCloser:  body,
		Filename:    filename,
		ContentType: contentType,
	}
}
func NewAttachment ( filename , contentType string , body io . ReadCloser ) * Attachment { return & Attachment { ReadCloser : body , Filename : filename , ContentType : contentType , } }
NewAttachment returns a new CouchDB attachment.
NewAttachment returns a new CouchDB attachment .