Registry / utility / google-go-licenses

google-go-licenses

JSON →
library1.6.0gogounverified

Package go-licenses is a tool for reporting the licenses used by Go dependencies.

go get github.com/google/go-licenses
INSTALL
IMPORT
SIG · GOOGLE-GO-LICENSES
G
google-go-licenses
utilitygov1.6.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

licenses
github.com/google/go-licenses

List licenses for the current module.

package main import ( "fmt" "github.com/google/go-licenses" ) func main() { licenses, err := licenses.Licenses(".") if err != nil { panic(err) } for _, l := range licenses { fmt.Println(l.Name, l.Type) } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.6.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
google-go-licenses — go get google-go-licenses · libregistry