golicense

command module
v0.0.0-...-57e404e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 26, 2013 License: ISC Imports: 10 Imported by: 0

README

Go License

Print the combined licenses of your imports and program.

Example:

go get github.com/howeyc/golicense

cd /path/to/go/program/source

golicense

This is useful to comply with the second clause of the BSD license:

  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

Also useful to see if a dependency has a license you don't recognize.

Basically this will go through the GOPATH in search of LICENSE* files and then recursively go through all the imports used in the go package to find all required licenses. It then prints a combined license file to Standard Output.

GOROOT is also used to get the License of the Go Standard Library.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL