diff --git a/utils/utils.go b/utils/utils.go index 52f8eefb95..eee6685c8b 100644 --- a/utils/utils.go +++ b/utils/utils.go @@ -170,10 +170,9 @@ func SelfPath() string { return path } -type NopWriter struct { -} +type NopWriter struct{} -func (w *NopWriter) Write(buf []byte) (int, error) { +func (*NopWriter) Write(buf []byte) (int, error) { return len(buf), nil }