kemokemo / gomrepo

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

License:MIT License


Languages

Language:Go 100.0%