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

Method String

const_strings.gen.go:2461–2467  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2459var _DomainChannelFlags_index = [...]uint8{0, 18}
2460
2461func (i DomainChannelFlags) String() string {
2462 i -= 1
2463 if i < 0 || i >= DomainChannelFlags(len(_DomainChannelFlags_index)-1) {
2464 return "DomainChannelFlags(" + strconv.FormatInt(int64(i+1), 10) + ")"
2465 }
2466 return _DomainChannelFlags_name[_DomainChannelFlags_index[i]:_DomainChannelFlags_index[i+1]]
2467}
2468func _() {
2469 // An "invalid array index" compiler error signifies that the constant values have changed.
2470 // Re-run the stringer command to generate them again.

Callers

nothing calls this directly

Calls 1

DomainChannelFlagsTypeAlias · 0.85

Tested by

no test coverage detected