Skip to content

This small tool adds license information to the 'go module' information and outputs it in various formats.

License

Notifications You must be signed in to change notification settings

kemokemo/gomrepo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gomrepo : go module report

This small tool adds license information to the go module information and outputs it in various formats.

Usage

gomrepo -format {your_favorite_format} {your_project_directory_path}

# ex) gomrepo -format markdown ./my-golang-app

Output sample

The following is an example of using this tool to generate a list of licenses for this tool's own dependent modules.

ID Version License
github.com/PuerkitoBio/goquery v1.5.1 BSD-3-Clause
github.com/andybalholm/cascadia v1.1.0 BSD-2-Clause
github.com/google/go-cmp v0.5.4 BSD-3-Clause
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 BSD-3-Clause
golang.org/x/net v0.0.0-20200822124328-c89045814202 BSD-3-Clause
golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd BSD-3-Clause
golang.org/x/text v0.3.0 BSD-3-Clause
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 BSD-3-Clause

Supported formats

  • Markdown
  • HTML
  • AsciiDoc
  • Textile

How to install

Homebrew

brew install kemokemo/tap/gomrepo

Scoop

First, add my scoop-bucket.

scoop bucket add kemokemo-bucket https://github.com/kemokemo/scoop-bucket.git

Next, install this app by running the following.

scoop install gomrepo

Build yourself

go install github.com/kemokemo/gomrepo

Binary

Download from the release page, unpack the archive and put the binary somewhere in your PATH.

Special thanks

This tool is using information from pkg.go.dev site. I would like to take this opportunity to thank all the contributors of pkg.go.dev site.

About

This small tool adds license information to the 'go module' information and outputs it in various formats.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages