You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
512 B
16 lines
512 B
// generated by stringer -type=Method -output=stringer.go; DO NOT EDIT |
|
|
|
package chess |
|
|
|
import "fmt" |
|
|
|
const _Method_name = "NoMethodCheckmateResignationDrawOfferStalemateThreefoldRepetitionFivefoldRepetitionFiftyMoveRuleSeventyFiveMoveRuleInsufficientMaterial" |
|
|
|
var _Method_index = [...]uint8{0, 8, 17, 28, 37, 46, 65, 83, 96, 115, 135} |
|
|
|
func (i Method) String() string { |
|
if i >= Method(len(_Method_index)-1) { |
|
return fmt.Sprintf("Method(%d)", i) |
|
} |
|
return _Method_name[_Method_index[i]:_Method_index[i+1]] |
|
}
|
|
|