diff --git a/src/net/dial.go b/src/net/dial.go index 763096d9e..a1cb75d87 100644 --- a/src/net/dial.go +++ b/src/net/dial.go @@ -8,6 +8,7 @@ import ( type Dialer struct { Timeout time.Duration Deadline time.Time + DualStack bool KeepAlive time.Duration } diff --git a/src/os/file_go_other.go b/src/os/file_go_other.go index d8d680ffe..351de7acc 100644 --- a/src/os/file_go_other.go +++ b/src/os/file_go_other.go @@ -44,3 +44,8 @@ const ( func (m FileMode) IsDir() bool { return false } + +// IsRegular is a stub, always returning false +func (m FileMode) IsRegular() bool { + return false +}