Skip to content

Commit

Permalink
internal/util: golint
Browse files Browse the repository at this point in the history
  • Loading branch information
nhooyr committed Oct 13, 2023
1 parent 61942a4 commit 5793e7d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/util/util.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package util

// WriterFunc is used to implement one off io.Writers.
type WriterFunc func(p []byte) (int, error)

func (f WriterFunc) Write(p []byte) (int, error) {
Expand Down

0 comments on commit 5793e7d

Please sign in to comment.