https://play.golang.org/p/QydS9mAFol2

https://play.golang.org/p/QydS9mAFol2

What’s E0F in the error message?

You are missing a curly bracket at the end of the file

EOF (3 letters, a big O in the middle, not a zero) in general means end of file.

https://play.golang.org/p/FkXq0dfL1jb

you are not closing your main function that’s why EOF is coming , see the above link

You’re right!

Thanks!

Yes!
I traced all the curly braces to see what you mean

This is cheering me up on an otherwise gloomy day :smiley:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.