source: code/trunk/net_go116.go@ 637

Last change on this file since 637 was 582, checked in by contact, 4 years ago

go fmt: add go:build tags

This is the new style for build tags. The old +build format is
deprecated.

File size: 154 bytes
Line 
1//go:build go1.16
2// +build go1.16
3
4package soju
5
6import (
7 "errors"
8 "net"
9)
10
11func isErrClosed(err error) bool {
12 return errors.Is(err, net.ErrClosed)
13}
Note: See TracBrowser for help on using the repository browser.