I am confused why line 15 is not valid. Why can't there be a pointer to a big one. Not dereferenced while a pointer to int can?
package main import ( "fmt" "big" ) func main() { var c *int = getPtr() fmt.Println(c) fmt.Println(*c) var d *big.Int = big.NewInt(int64(0)) fmt.Println(d)
source share