gocredits creates CREDITS file from LICENSE files of dependencies
gocredits . > CREDITS
When distributing built executable in Go, we need to include LICENSE of the dependent libraries into the package, so gocredits bundle them together as a CREDITS file.
To use gocredits
, we should use go modules for dependency management.
% brew install Songmu/tap/gocredits
% go install github.com/Songmu/gocredits/cmd/gocredits@latest
Built binaries are available on GitHub Releases. https://github.com/Songmu/gocredits/releases