WithMimeType adds mimeType to the MemoryObject
(mimeType string)
| 217 | |
| 218 | // WithMimeType adds mimeType to the MemoryObject |
| 219 | func (o *MemoryObject) WithMimeType(mimeType string) *MemoryObject { |
| 220 | o.mimeType = mimeType |
| 221 | return o |
| 222 | } |
| 223 | |
| 224 | // Content returns the underlying buffer |
| 225 | func (o *MemoryObject) Content() []byte { |
no outgoing calls