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

Method String

const_strings.gen.go:3111–3117  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3109var _InterfaceXMLFlags_index = [...]uint8{0, 20}
3110
3111func (i InterfaceXMLFlags) String() string {
3112 i -= 1
3113 if i < 0 || i >= InterfaceXMLFlags(len(_InterfaceXMLFlags_index)-1) {
3114 return "InterfaceXMLFlags(" + strconv.FormatInt(int64(i+1), 10) + ")"
3115 }
3116 return _InterfaceXMLFlags_name[_InterfaceXMLFlags_index[i]:_InterfaceXMLFlags_index[i+1]]
3117}
3118func _() {
3119 // An "invalid array index" compiler error signifies that the constant values have changed.
3120 // Re-run the stringer command to generate them again.

Callers

nothing calls this directly

Calls 1

InterfaceXMLFlagsTypeAlias · 0.85

Tested by

no test coverage detected