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

Method String

const_strings.gen.go:2836–2842  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2834var _DomainFDAssociateFlags_index = [...]uint8{0, 32, 65}
2835
2836func (i DomainFDAssociateFlags) String() string {
2837 i -= 1
2838 if i < 0 || i >= DomainFDAssociateFlags(len(_DomainFDAssociateFlags_index)-1) {
2839 return "DomainFDAssociateFlags(" + strconv.FormatInt(int64(i+1), 10) + ")"
2840 }
2841 return _DomainFDAssociateFlags_name[_DomainFDAssociateFlags_index[i]:_DomainFDAssociateFlags_index[i+1]]
2842}
2843func _() {
2844 // An "invalid array index" compiler error signifies that the constant values have changed.
2845 // Re-run the stringer command to generate them again.

Callers

nothing calls this directly

Calls 1

DomainFDAssociateFlagsTypeAlias · 0.85

Tested by

no test coverage detected