Documentation
¶
Overview ¶
Package nut provides API for managing versioned Go source code packages, called "nuts".
Index ¶
Constants ¶
View Source
const ( ExampleFullName = "Crazy Nutter" ExampleEmail = "[email protected]" SpecFileName = "nut.json" )
Variables ¶
View Source
var VersionRegexp = regexp.MustCompile(`^(\d+).(\d+).(\d+)$`)
Current format for nut version.
Functions ¶
func CheckPackage ¶
Check package for errors and return them.
Types ¶
type Nut ¶
Describes nut – a Go package with associated meta-information.
type Spec ¶
Describes part of nut meta-information, stored in file nut.json.
type Version ¶
Describes nut version. See http://gonuts.io/XXX for explanation of version specification.
func (*Version) UnmarshalJSON ¶
Unmarshal from JSON.
Click to show internal directories.
Click to hide internal directories.