legal - ActiveState ActiveGo 1.8
...

Package legal

import "go4.org/legal"
Overview
Index

Overview ▾

Package legal provides in-process storage for compiled-in licenses.

func Licenses

func Licenses() []string

Licenses returns a slice of the licenses.

func RegisterLicense

func RegisterLicense(text string)

RegisterLicense stores the license text. It doesn't check whether the text was already present.