Member-only story

Finding All the Golang Licenses

Matt Kornfield
4 min readApr 12, 2023

Every package has a license, make sure you know what you’re using

Photo by Tolga deniz Aran on Unsplash

Who cares about licenses?

Businesses.

Software licenses that are non-permissive are super dangerous to a business, either meaning they need to Open Source their private offerings (AGPL), or should be paying Oracle or the like big money (Commercial License).

MySQL has one that is essentially both: either your software must be FOSS or you have to pay.

So if you’re just randomly adding Go Packages to your businesses’s software that you intend to ship, it’s worth your due diligence to make sure you don’t have any non-permissive licenses.

What tools are out there for Go?

There’s more exhaustive lists than one I can put together, for example here. The short list I went through was:

I’ll say that like the other blog author mentioned, I think go-licenses is the way to go, but it’s not perfect, and the output format is either CSV or a go template, which is always fun to work with.

--

--

Matt Kornfield
Matt Kornfield

Written by Matt Kornfield

Today's solutions are tomorrow's debugging adventure.

No responses yet