soju/net_go116.go
2021-05-20 00:07:44 +02:00

13 lines
136 B
Go

// +build go1.16
package soju
import (
"errors"
"net"
)
func isErrClosed(err error) bool {
return errors.Is(err, net.ErrClosed)
}