source:
code/trunk/net_go113.go@
707
Last change on this file since 707 was 582, checked in by , 4 years ago | |
---|---|
File size: 200 bytes |
Line | |
---|---|
1 | //go:build !go1.16 |
2 | // +build !go1.16 |
3 | |
4 | package soju |
5 | |
6 | import ( |
7 | "strings" |
8 | ) |
9 | |
10 | func isErrClosed(err error) bool { |
11 | return err != nil && strings.Contains(err.Error(), "use of closed network connection") |
12 | } |
Note:
See TracBrowser
for help on using the repository browser.