source:
code/trunk/net_go116.go@
577
Last change on this file since 577 was 519, checked in by , 4 years ago | |
---|---|
File size: 136 bytes |
Line | |
---|---|
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.