Examples using... ast.Ident

Recent
ExampleInfo prints various facts recorded by the type checker in a types.Info struct: definitions of and references to each named object, and the type, value, and mode of every expression in the package.
This example demonstrates how to inspect the AST of a Go program.