We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I run codes below on the Go+ Playground,
type Person struct { Name string Age int } p := Person{ Name: "bar", Age: 30 } println(p.Name)
got a compile error:
GenGoPkg . main.gop:6:2: expected declaration (and 1 more errors)
Infact, the real error line is 8 (missed , after Age: 30), not 6.
8
,
Age: 30
6
The text was updated successfully, but these errors were encountered:
There are more errors that are hidden. So the real problem is how to show all errors.
Sorry, something went wrong.
No branches or pull requests
When I run codes below on the Go+ Playground,
got a compile error:
Infact, the real error line is
8
(missed,
afterAge: 30
), not6
.The text was updated successfully, but these errors were encountered: