Documentation ¶ Index ¶ type ErrorRank func NewErrorRank() *ErrorRank func (r *ErrorRank) AddError(err error, rank int) func (r *ErrorRank) MaxRank() (int, bool) type Max func NewMax() *Max func (m *Max) Get() (int, bool) func (m *Max) Set(value int) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type ErrorRank ¶ type ErrorRank struct { // contains filtered or unexported fields } func NewErrorRank ¶ func NewErrorRank() *ErrorRank func (*ErrorRank) AddError ¶ func (r *ErrorRank) AddError(err error, rank int) func (*ErrorRank) MaxRank ¶ func (r *ErrorRank) MaxRank() (int, bool) type Max ¶ type Max struct { // contains filtered or unexported fields } func NewMax ¶ func NewMax() *Max func (*Max) Get ¶ func (m *Max) Get() (int, bool) func (*Max) Set ¶ func (m *Max) Set(value int) Source Files ¶ View all Source files error_rank.go max.go Click to show internal directories. Click to hide internal directories.