Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Unnecessary syntax error when creating a key-value pairs using map #40394
What version of Go are you using (
When showing code, please use plain text or a playground link, not an image. Especially not a white-on-black image. Images are hard to read, and they don't support cut-and-paste of text. Code is plain text, so show it as plain text.
In this case the problem appears to be a missing comma at the end of the "location" line, just as the error message says.
Closing because this seems to be expected behavior.