0
Go 'package' does not name a type
I’m learning the Golang and anytime click on the ‘Try it yourself’ button and then ‘run’. I receive the error; ./Playground/file0.cpp:1:1: error: 'package' main does not name a type. Please help 🙏
3 odpowiedzi
+ 1
The error shows you are in C++ playground instead of Go. Write to Sololearn an email, is this a bug or a wrong setting.
Deleting the cache on your phone and reinstall the app may help.
0
I think you are changing something.
0
no. i simply Run the code (wothout changing anything) after hitting thr “Try it yourself”