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

Method String

const_strings.gen.go:2268–2273  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2266var _DomainEventGraphicsPhase_index = [...]uint8{0, 26, 55, 84}
2267
2268func (i DomainEventGraphicsPhase) String() string {
2269 if i < 0 || i >= DomainEventGraphicsPhase(len(_DomainEventGraphicsPhase_index)-1) {
2270 return "DomainEventGraphicsPhase(" + strconv.FormatInt(int64(i), 10) + ")"
2271 }
2272 return _DomainEventGraphicsPhase_name[_DomainEventGraphicsPhase_index[i]:_DomainEventGraphicsPhase_index[i+1]]
2273}
2274func _() {
2275 // An "invalid array index" compiler error signifies that the constant values have changed.
2276 // Re-run the stringer command to generate them again.

Callers

nothing calls this directly

Calls 1

DomainEventGraphicsPhaseTypeAlias · 0.85

Tested by

no test coverage detected