Documentation ¶
Index ¶
Constants ¶
View Source
const ( None = Type(0) Patch = Type(1) Minor = Type(2) Major = Type(3) )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Type ¶
type Type int
func (Type) Cap ¶
Cap returns the current bump if it is smaller or equal than another one, and second otherwise. e.g Major.Cap(Minor) returns Minor, and Patch.Cap(Minor) returns Patch.
Click to show internal directories.
Click to hide internal directories.