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.
go/ast: CommentMap example does not compile #20450
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
The example is not rendered as a runnable example (we have examples that cannot be run in the playground, for example the ones that need access to the filesystem, and we render them without the run button) so IMHO you shouldn't expect it to actually be runnable.
The purpose of the example is to show how to use CommentMap and you can treat
Thanks for the quick response!