Fix lint errors
This commit is contained in:
@@ -14,11 +14,13 @@ type StreamWrapper struct {
|
|||||||
|
|
||||||
func (s *StreamWrapper) Read(p []byte) (n int, err error) {
|
func (s *StreamWrapper) Read(p []byte) (n int, err error) {
|
||||||
n, err = s.Stream.Read(p)
|
n, err = s.Stream.Read(p)
|
||||||
|
//nolint:staticcheck
|
||||||
return n, baderror.WrapQUIC(err)
|
return n, baderror.WrapQUIC(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *StreamWrapper) Write(p []byte) (n int, err error) {
|
func (s *StreamWrapper) Write(p []byte) (n int, err error) {
|
||||||
n, err = s.Stream.Write(p)
|
n, err = s.Stream.Write(p)
|
||||||
|
//nolint:staticcheck
|
||||||
return n, baderror.WrapQUIC(err)
|
return n, baderror.WrapQUIC(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user