Skip to content

Commit

Permalink
review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ashmeenkaur committed Oct 22, 2024
1 parent 999adf3 commit f111264
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/storage/gcs/bucket.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ const (
ReqIdField string = "GcsReqId"
)

// Writer provides an abstraction for writing data to a storage location.
// This interface allows for different implementations, particularly for testing
// purposes, such as the fake implementation in fake/bucket.go.
type Writer interface {
io.WriteCloser
ObjectName() string
Expand Down

0 comments on commit f111264

Please sign in to comment.