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