Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type State ¶
type State int8
State indicate the state of a commit message
const ( // normal state Validated State = iota Merge // non format error ArgumentMissing FileMissing ReadError // format error EmptyMessage EmptyHeader BadHeaderFormat WrongType ScopeMissing WrongScope BodyMissing NoBlankLineBeforeBody LineOverLong UndefindedError )
message states
func (State) IsFormatError ¶
IsFormatError return if the state a format error
func (State) MarshalText ¶ added in v0.3.0
func (*State) UnmarshalText ¶ added in v0.3.0
Click to show internal directories.
Click to hide internal directories.