mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-28 01:41:48 -06:00
5daeee5f6d
The latest version of stringer now uses strconv instead of fmt.
17 lines
530 B
Go
17 lines
530 B
Go
// Code generated by "stringer -type=OperationType operation_type.go"; DO NOT EDIT.
|
|
|
|
package backend
|
|
|
|
import "strconv"
|
|
|
|
const _OperationType_name = "OperationTypeInvalidOperationTypeRefreshOperationTypePlanOperationTypeApply"
|
|
|
|
var _OperationType_index = [...]uint8{0, 20, 40, 57, 75}
|
|
|
|
func (i OperationType) String() string {
|
|
if i >= OperationType(len(_OperationType_index)-1) {
|
|
return "OperationType(" + strconv.FormatInt(int64(i), 10) + ")"
|
|
}
|
|
return _OperationType_name[_OperationType_index[i]:_OperationType_index[i+1]]
|
|
}
|