Style: format code by gofumpt (#761)
This commit is contained in:
1 parent
d77be80b40
commit
e286cdcaa8
111 files changed
+293
-291
No files matched your search
@@ -40,8 +40,10 @@ type pipe struct {
|
||||
state state
|
||||
}
|
||||
|
||||
var errBufferFull = errors.New("buffer full")
|
||||
var errSlowDown = errors.New("slow down")
|
||||
var (
|
||||
errBufferFull = errors.New("buffer full")
|
||||
errSlowDown = errors.New("slow down")
|
||||
)
|
||||
|
||||
func (p *pipe) getState(forRead bool) error {
|
||||
switch p.state {
|
||||
|
||||
Reference in new issue
Block a user