Is there a tool to auto extract licenses for included packages

Hello, I would like to extract the license information of all the packages my software includes so I can include them as part of my application.

I was wondering if there is a tool or a built-in way to do that in go?

Currently we use “go mod init” to download the packages to vendor folder and traverse through them to find the LICENSE file. Then, we throw the vendor folder. There is also a tool called https://github.com/mitchellh/golicense which we found limited.

Thank you for your answer

There is a cloud service called FOSSA which does all the legal licenses work. It has free tier.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.