Closed xdays closed 5 years ago
Confirmed, this happens if you put all the code in the same cell. I will work on it. As a temporary workaround, you can split the code in multiple cells - if you put
func (s person) speak() {
fmt.Println("I am", s.first, s.last)
}
into its own cell, then in later cells p1.speak()
will work
fixed in commit 1c4b514e4b9e3d0f3cc9b9c01a0dfa440c1dd564
I don't know if this is related, but I get the same error when I try to call a method, colab
Hello @mrg0lden,
please open a new issue with the minimal code that triggers the error,
and also include the output of go env
I can't run the following code
and the error messge is:
here's result from play.golang.org https://play.golang.org/p/3MUTTha849C