sourcegraph / srclib-go

Go toolchain for srclib
https://sourcegraph.com/sourcegraph/srclib-go
MIT License
29 stars 13 forks source link

graph: accept a list of source units as input to graph #78

Closed pararthshah closed 8 years ago

pararthshah commented 8 years ago

This change will allow srclib-go to graph multiple packages together. The benefit of this is that we can graph all source units of a repo together, taking advantage of the caching in go/loader and gog packages, to avoid doing duplicate work of loading and parsing the same dependencies multiple times.

TODO: fix the global config setting in graph.go

beyang commented 8 years ago

Otherwise LGTM