Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RepoAPI ¶
RepoAPI implements license.Finder and looks up the license of a module using the GitHub Repository License API1.
This API will return the detected license based on the current source code. Therefore it is theoretically possible for a dependency to have a different license based on the exact match of the SHA (the project changed licenses). In practice, this is quite rare so it is up to the caller to determine if this is an acceptable risk or not.
Click to show internal directories.
Click to hide internal directories.