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.
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