Chore: Run gofmt (#3990)

This commit is contained in:
zonescape
2024-11-09 14:16:11 +03:00
committed by GitHub
parent bc4bf3d38f
commit 83bab5dd90
50 changed files with 272 additions and 273 deletions

View File

@@ -47,11 +47,11 @@ var (
)
func (p *pipe) Len() int32 {
data := p.data
if data == nil {
return 0
}
return data.Len()
data := p.data
if data == nil {
return 0
}
return data.Len()
}
func (p *pipe) getState(forRead bool) error {

View File

@@ -20,7 +20,7 @@ func (w *Writer) Close() error {
}
func (w *Writer) Len() int32 {
return w.pipe.Len()
return w.pipe.Len()
}
// Interrupt implements common.Interruptible.