Skip to content

Commit e5093b5

Browse files
committed
Fixup return value to be interface type which is more correct
1 parent 0266e4f commit e5093b5

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)