diff options
Diffstat (limited to 'resource/resource.go')
-rw-r--r-- | resource/resource.go | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/resource/resource.go b/resource/resource.go index a7a9cb878..718d4d303 100644 --- a/resource/resource.go +++ b/resource/resource.go @@ -16,7 +16,6 @@ package resource import ( "errors" "fmt" - "io" "io/ioutil" "mime" "os" @@ -134,14 +133,6 @@ type ContentResource interface { Content() (interface{}, error) } -// ReadSeekCloser is implemented by afero.File. We use this as the common type for -// content in Resource objects, even for strings. -type ReadSeekCloser interface { - io.Reader - io.Seeker - io.Closer -} - // OpenReadSeekeCloser allows setting some other way (than reading from a filesystem) // to open or create a ReadSeekCloser. type OpenReadSeekCloser func() (ReadSeekCloser, error) |