Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kemokemo/gomrepo
This small tool adds license information to the 'go module' information and outputs it in various formats.
https://github.com/kemokemo/gomrepo
go golang license report
Last synced: 1 day ago
JSON representation
This small tool adds license information to the 'go module' information and outputs it in various formats.
- Host: GitHub
- URL: https://github.com/kemokemo/gomrepo
- Owner: kemokemo
- License: mit
- Created: 2020-12-21T12:13:35.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2020-12-21T23:33:42.000Z (almost 4 years ago)
- Last Synced: 2024-06-20T19:20:22.934Z (5 months ago)
- Topics: go, golang, license, report
- Language: Go
- Homepage:
- Size: 20.5 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gomrepo : go module report
This small tool adds license information to the `go module` information and outputs it in various formats.
## Usage
```sh
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
```sh
brew install kemokemo/tap/gomrepo
```### Scoop
First, add my scoop-bucket.
```sh
scoop bucket add kemokemo-bucket https://github.com/kemokemo/scoop-bucket.git
```Next, install this app by running the following.
```sh
scoop install gomrepo
```### Build yourself
```sh
go install github.com/kemokemo/gomrepo
```### Binary
Download from [the release page](https://github.com/kemokemo/gomrepo/releases/latest), unpack the archive and put the binary somewhere in your `PATH`.
## Special thanks
This tool is using information from [pkg.go.dev](https://pkg.go.dev/) site.
I would like to take this opportunity to thank all the contributors of [pkg.go.dev](https://pkg.go.dev/) site.