MCPcopy Create free account
hub / github.com/digitalocean/go-libvirt / String

Method String

const_strings.gen.go:148–160  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

146)
147
148func (i DomainCheckpointListFlags) String() string {
149 switch {
150 case 1 <= i && i <= 2:
151 i -= 1
152 return _DomainCheckpointListFlags_name_0[_DomainCheckpointListFlags_index_0[i]:_DomainCheckpointListFlags_index_0[i+1]]
153 case i == 4:
154 return _DomainCheckpointListFlags_name_1
155 case i == 8:
156 return _DomainCheckpointListFlags_name_2
157 default:
158 return "DomainCheckpointListFlags(" + strconv.FormatInt(int64(i), 10) + ")"
159 }
160}
161func _() {
162 // An "invalid array index" compiler error signifies that the constant values have changed.
163 // Re-run the stringer command to generate them again.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected