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 Answers
+ 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â