Skip to content

Commit

Permalink
add pacakge comment
Browse files Browse the repository at this point in the history
Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com>
  • Loading branch information
hlts2 committed Oct 1, 2020
1 parent 88d680a commit cc5fbb5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion internal/db/storage/blob/s3/reader/reader_mock.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//

// Package reader provides the reader functions for handling with s3.
// This package is wrapping package of "https://github.com/aws/aws-sdk-go".
package reader

import (
Expand All @@ -36,7 +39,7 @@ func (m *MockS3API) GetObjectWithContext(ctx aws.Context, in *s3.GetObjectInput,
return m.GetObjectWithContextFunc(ctx, in, opts...)
}

// MockIO represents mock for io.IO
// MockIO represents mock for io.IO.
type MockIO struct {
NewReaderWithContextFunc func(ctx context.Context, r io.Reader) (io.Reader, error)
NewReadCloserWithContextFunc func(ctx context.Context, r io.ReadCloser) (io.ReadCloser, error)
Expand Down

0 comments on commit cc5fbb5

Please sign in to comment.