analice

command
v0.0.0-...-798cd6d Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2023 License: MIT Imports: 16 Imported by: 0

README

analice

About

Get an overview of OSS licenses used in your go project.

Build

go build

Usage

Generate NOTICE file
analice generate notice github.com/user/project github.com/user/project/pkg --tests --gooses=linux,windows
analice generate notice github.com/user/project --tests --gooses=linux

How it works

Assumptions

  • Every dependency is licensed under one license known to this tool.

Known limitations

  • Skips dependencies without license, either because they don't have one or it is absent in vendor folder.
  • Skips dependencies which bury the license file in a non-standard location, e.g. by embedding it in README.
  • Sometimes does not work for dependencies with heavy re-formatting of the LICENSE file, e.g. by using markdown, prefixing every line wth "> ", etc. Line breaks and spaces are OK though.

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