go4.org: go4.org/legal Index | Files

package legal

import "go4.org/legal"

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

Index

Package Files

legal.go

func Licenses Uses

func Licenses() []string

Licenses returns a slice of the licenses.

func RegisterLicense Uses

func RegisterLicense(text string)

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

Package legal is imported by 21 packages. Updated 2016-07-18. Refresh now. Tools for package owners.