github.com/apparentlymart/terraform@v0.11.12-beta1/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 "strconv"
     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 "countHookAction(" + strconv.FormatInt(int64(i), 10) + ")"
    14  	}
    15  	return _countHookAction_name[_countHookAction_index[i]:_countHookAction_index[i+1]]
    16  }