On Wed, Jun 17, 2020 at 12:16 PM <hardconnect....@gmail.com> wrote: > > I remember using mainframe FORTRAN compilers where the compiler would print > out a page of symbol cross references. > > For each symbol or function there would listed the line where it was defined > and then line numbers where it was used/referenced. > > Something similar would be useful for GO. Printing out the symbol. it's > package, file and line # and then where it was referenced.
In Go this would more typically be done using a separate tool rather than the compiler itself. Certainly gopls can compute this information. Ian -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAOyqgcW-SHC%3DJdBTPm5JANwSc%3Div5M0UP-gLyiyzH96T4D2KpA%40mail.gmail.com.