Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
tip
What operating system and processor architecture are you using (go env)?
Irrelevant
What did you do?
https://play.golang.org/p/BzZjqEx-Jk
package main
import "net"
func main() {
d := &net.Dialer{}
deadline := d.deadline()
}
What did you see instead?
The error message has an extra set of quotes:
d.deadline undefined (cannot refer to unexported field or method net.(*Dialer)."".deadline)
I'd expect it to read:
d.deadline undefined (cannot refer to unexported field or method net.(*Dialer).deadline)
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version)?tip
What operating system and processor architecture are you using (
go env)?Irrelevant
What did you do?
https://play.golang.org/p/BzZjqEx-Jk
What did you see instead?
The error message has an extra set of quotes:
I'd expect it to read: