//go:build !go1.16 // +build !go1.16 package suika import ( "strings" ) func isErrClosed(err error) bool { return err != nil && strings.Contains(err.Error(), "use of closed network connection") }