source:
code/trunk/net_go116.go@
541
Last change on this file since 541 was 519, checked in by , 4 years ago | |
---|---|
File size: 136 bytes |
Rev | Line | |
---|---|---|
[519] | 1 | // +build go1.16 |
2 | ||
3 | package soju | |
4 | ||
5 | import ( | |
6 | "errors" | |
7 | "net" | |
8 | ) | |
9 | ||
10 | func isErrClosed(err error) bool { | |
11 | return errors.Is(err, net.ErrClosed) | |
12 | } |
Note:
See TracBrowser
for help on using the repository browser.