(This is the image of my console showing these error messages!). Please, see ut and tell me what is causing these errors and how to fix it. I have Windows 10 in my computer. Thanks! - Nicolás Matías Funtalas.
You can click on the Run button to run it, and see the errors.
The proper double quote is the one that is the same as in ASCII character set,
which is this -> "
It’s the U+022 code point (I hope I got that right). An “interpreted string literal” in Go uses the same character at the start and end of the string.
I don’t know what country you are in and what language you are using, but I’m guessing that there is are double quote keys on your keyboard that look the same to you, and you used those. It’s an easy mistake, of course.
I got completely different errors when compiling your program in the Go Playground or on Linux. I don’t know why.
I copied and pasted again, and I get the same errors:
can’t load package: package main:
prog.go:3:8: illegal character U+201C ‘“’
prog.go:3:14: illegal character U+201D ‘”’
prog.go:6:13: illegal character U+201C ‘“’
prog.go:6:51: illegal character U+201D ‘”’
Maybe on your computer, when you copied and pasted, it turned the U+201C and U+201D into U+022 ? Or maybe the copy and paste operation changed the quotes when you posted here? I don’t know! Weird!
Excuse me, but I installed Go for the first time!. I was not overwriting!. It’s weird. I am goint to delete Go and re-install it to try to fix this annoying problem!!!