top | item 36049283

(no title)

typical182 | 2 years ago

goda[0] is excellent. You do do things like:

  # show the impact of cutting any package
  goda cut ./...:all   
which prints a sorted ASCII table with stats like 'size:4.4MB loc:134171' for each package, which is an estimate the savings you'd get if you eliminated that package from your binary. That is a great way to see what is unexpectedly large compared to its value.

goda has a bunch of other capabilities around dependency analysis, and was written by long-time Go contributor Egon Elbre. The examples in the README are the best way to get started after 'go install github.com/loov/goda@latest'.

[0] https://github.com/loov/goda

discuss

order

No comments yet.