salam. Hi gophers can any one take a look at at this snippet of code https://play.golang.org/p/qv0N0EN81tX and answer me why should this panic at runtime, and why the compiler does not catch this kind of mistakes.
-- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/4afcfd42-72d3-4920-9ea1-df1ae71c5b8f%40googlegroups.com.