Skip to content

Commit

Permalink
Unittest for contentwrapper in cache:loader.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Dino Omanovic committed Jul 11, 2016
1 parent 8b3a710 commit bae4484
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions composition/interfaces.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ type Content interface {
// If Reader() == nil, no stream is available an it contains parsed data, only.
Reader() io.ReadCloser

SetReader(io.ReadCloser)

// HttpHeader() returns the http headers of the fetch job
HttpHeader() http.Header

Expand Down
4 changes: 0 additions & 4 deletions composition/memory_content.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,6 @@ func (c *MemoryContent) Reader() io.ReadCloser {
return c.reader
}

func (c *MemoryContent) SetReader(r io.ReadCloser) {
c.reader = r
}

func (c *MemoryContent) HttpHeader() http.Header {
return c.httpHeader
}
Expand Down

0 comments on commit bae4484

Please sign in to comment.