You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 30, 2022. It is now read-only.
I have tried to use google/go-licenses with no success, even the examples from the README fail to run, there are also multiple issues (including the broken examples) open. Seems like there is an effort to fix many of the issues on version 2 which is under development.
frapposelli/wwhrd works, however it requires a configuration file where you need to specify the allowed licenses, while go-licenses uses google/licenseclassifier to automatically classify the license. Besides that, wwhrd only checks packages stored under vendor/, so when using Go modules (go mod), you need to run go mod vendor before running wwhrd.
While the check is being implemented using wwhrd it might be worth keeping an eye for the next version of google/go-licenses for a solution where we do not need to maintain a list of allowed licenses.
Check this out: https://github.com/google/go-licenses
The text was updated successfully, but these errors were encountered: