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 get github.com/Songmu/gocredits/cmd/gocredits
Built binaries are available on GitHub Releases. https://github.com/Songmu/gocredits/releases