Tools for managing licenses of dependencies

110 views
Skip to first unread message

Victor Denisov

unread,
Apr 11, 2020, 4:03:18 PM4/11/20
to golang-nuts
Hi,

Are there any tools that would allow to manage licenses of my go modules?
I would like to be able to specify what licenses of my dependencies are allowed.

Are there any plans to add something like this to standard go tools?

Thanks,
Victor.

Davor Kapša

unread,
Apr 12, 2020, 4:29:07 AM4/12/20
to golang-nuts

Charith Ellawala

unread,
Apr 13, 2020, 5:54:21 AM4/13/20
to golang-nuts
GitHub's licensed tool is written in Ruby but supports Go: https://github.com/github/licensed/blob/master/docs/sources/go.md. Another option is https://github.com/frapposelli/wwhrd.
Go tooling is designed with programmatic use in mind  so you could also easily roll your own if the existing tools don't quite match your requirements.

Michał Matczuk

unread,
Apr 14, 2020, 5:22:06 AM4/14/20
to golang-nuts
I'm using https://github.com/src-d/go-license-detector with some bash scripting around it to list the modules.


On Saturday, April 11, 2020 at 10:03:18 PM UTC+2, Victor Denisov wrote:
Reply all
Reply to author
Forward
0 new messages