Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/callgraph: add 'posn' template helper
This change adds a helper function to the template environment to make it easier to compute the token.Position of an ssa Function. Also, improve the documentation. Fixes golang/go#65980 Change-Id: I16d4cc87bb6f96985684da5ce027be296f22a601 Reviewed-on: https://go-review.googlesource.com/c/tools/+/567838 Reviewed-by: Robert Findley <rfindley@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
- Loading branch information