Linter fixes
This commit is contained in:
parent
958990cef8
commit
fb53ccb06a
3 changed files with 12 additions and 12 deletions
|
|
@ -59,7 +59,7 @@ func (s *socketConn) Write(b []byte) (int, error) {
|
|||
|
||||
n, err := w.Write(b)
|
||||
if err != nil {
|
||||
return 0, fmt.Errorf("error writing: %v", err)
|
||||
return 0, fmt.Errorf("error writing: %w", err)
|
||||
}
|
||||
|
||||
if err := w.Close(); err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue