github.com/paybyphone/terraform@v0.9.5-0.20170613192930-9706042ddd51/backend/local/counthookaction_string.go (about) 1 // Code generated by "stringer -type=countHookAction hook_count_action.go"; DO NOT EDIT. 2 3 package local 4 5 import "fmt" 6 7 const _countHookAction_name = "countHookActionAddcountHookActionChangecountHookActionRemove" 8 9 var _countHookAction_index = [...]uint8{0, 18, 39, 60} 10 11 func (i countHookAction) String() string { 12 if i >= countHookAction(len(_countHookAction_index)-1) { 13 return fmt.Sprintf("countHookAction(%d)", i) 14 } 15 return _countHookAction_name[_countHookAction_index[i]:_countHookAction_index[i+1]] 16 }