Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithContentType ¶
func WithContentType(contentType string) options.NewFileOption
WithContentType returns ContentType implementation of NewFileOption
Types ¶
type ContentType ¶
type ContentType string
ContentType represents the NewFileOption that is used to explicitly specify a content type on created files.
func (*ContentType) NewFileOptionName ¶
func (ct *ContentType) NewFileOptionName() string
NewFileOptionName returns the name of ContentType option
Click to show internal directories.
Click to hide internal directories.