Documentation ¶
Overview ¶
Package files deals with file processing for gjere.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContentTypeReader ¶
type ContentTypeReader struct {
// contains filtered or unexported fields
}
ContentTypeReader is a reader that can detect the content type of the provided input.
func NewContentTypeReader ¶
func NewContentTypeReader(r io.Reader) *ContentTypeReader
NewContentTypeReader creates a new io.Reader with content type detection.
func (*ContentTypeReader) ContentType ¶
func (c *ContentTypeReader) ContentType() (string, error)
ContentType returns the content type of the underlying reader.
Click to show internal directories.
Click to hide internal directories.