Skip to content

Commit 68c9954

Browse files
committed
capnslog: Fixup return type to be more correct
1 parent 5b42587 commit 68c9954

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

capnslog/formatters.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ type Formatter interface {
2929
Flush()
3030
}
3131

32-
func NewStringFormatter(w io.Writer) *StringFormatter {
32+
func NewStringFormatter(w io.Writer) Formatter {
3333
return &StringFormatter{
3434
w: bufio.NewWriter(w),
3535
}

0 commit comments

Comments
 (0)