Created
May 25, 2016 12:51
-
-
Save csmith0651/48dfc02ee21fcae7b55d16c1568e9848 to your computer and use it in GitHub Desktop.
Revisions
-
Craig Smith created this gist
May 25, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ func (fetcher *fileFetcher) GetObject(s3Input *s3.GetObjectInput) (*s3.GetObjectOutput, error) { // completely ignore the input, just return an object wrapping the fetcher.data log.Printf("reading offers from file '%s'", fetcher.file) return &s3.GetObjectOutput{ Body: *(NewMockBody(fetcher.data)), }, nil }