I can't compile

And when you use go run from the terminal, what output do you see?

The code as per your first screenshot looks as if it should work. Though it’s hard to tell from a mobile phone, perhaps copy and paste into the forum the next time?

Perhaps give PSA Make it easier to help you a read?

1 Like