The Go website displays license information in order to help users evaluate packages for their intended use. Licenses are detected using heuristics based on their file name and contents. We hope this information is helpful, but this is not legal advice and we do not make any guarantees regarding the accuracy of our license detection.
If we are not able to detect one of the OSI-approved licenses below, only limited package and module information will be made available. If you are a package author seeking to make your content available on the Go website, please be aware that our detection algorithms can be affected by any modifications of the license text, or by the use of an uncommon license file name.
We currently use github.com/google/licensecheck for license detection, and look for licenses in files with the following names: COPYING, COPYING.md, COPYING.txt, LICENCE, LICENCE.md, LICENCE.txt, LICENSE, LICENSE.md, LICENSE.txt, License, License.md, License.txt.
We currently detect and recognize the following OSI-approved licenses:
If you use a package whose license is not detected, please inform the package author. If you are a package author who believes a license for one of your packages should have been detected and was not, please check for discrepancies between your license and the OSI text. If you still believe there is an error, please email firstname.lastname@example.org.