package meta | |
import "fmt" | |
type BranchType byte | |
const ( | |
/** | |
* The At. | |
*/ | |
// BranchType_AT Branch | |
BranchTypeAT BranchType = iota | |
/** | |
* The BranchType_TCC. | |
*/ | |
BranchTypeTCC | |
/** | |
* The BranchType_SAGA. | |
*/ | |
BranchTypeSAGA | |
) | |
func (t BranchType) String() string { | |
switch t { | |
case BranchTypeAT: | |
return "AT" | |
case BranchTypeTCC: | |
return "TCC" | |
case BranchTypeSAGA: | |
return "SAGA" | |
default: | |
return fmt.Sprintf("%d", t) | |
} | |
} |