Documentation ¶
Overview ¶
Package legal provides project-wide storage for compiled-in licenses.
Package legal provides a printing helper for the legal package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MaybePrint ¶
MaybePrint will print the licenses if flagLegal has been set. It will return the value of the flagLegal.
func RegisterLicense ¶
func RegisterLicense(text string)
RegisterLicense stores the license text. It doesn't check whether the text was already present.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.