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

Method String

const_strings.gen.go:2586–2591  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2584var _DomainInterfaceAddressesSource_index = [...]uint8{0, 32, 64, 94}
2585
2586func (i DomainInterfaceAddressesSource) String() string {
2587 if i < 0 || i >= DomainInterfaceAddressesSource(len(_DomainInterfaceAddressesSource_index)-1) {
2588 return "DomainInterfaceAddressesSource(" + strconv.FormatInt(int64(i), 10) + ")"
2589 }
2590 return _DomainInterfaceAddressesSource_name[_DomainInterfaceAddressesSource_index[i]:_DomainInterfaceAddressesSource_index[i+1]]
2591}
2592func _() {
2593 // An "invalid array index" compiler error signifies that the constant values have changed.
2594 // Re-run the stringer command to generate them again.

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected