Skip to content

Commit 70799bd

Browse files
author
Achille
authored
don't use io.StringWriter (#337)
1 parent c2af8e7 commit 70799bd

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

crc32.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ package kafka
33
import (
44
"encoding/binary"
55
"hash/crc32"
6-
"io"
76
)
87

98
type crc32Writer struct {
@@ -54,8 +53,3 @@ func (w *crc32Writer) WriteString(s string) (int, error) {
5453
w.update([]byte(s))
5554
return len(s), nil
5655
}
57-
58-
var (
59-
_ io.Writer = (*crc32Writer)(nil)
60-
_ io.StringWriter = (*crc32Writer)(nil)
61-
)

0 commit comments

Comments
 (0)