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

Method String

const_strings.gen.go:3514–3520  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3512var _NodeDeviceDefineXMLFlags_index = [...]uint8{0, 27}
3513
3514func (i NodeDeviceDefineXMLFlags) String() string {
3515 i -= 1
3516 if i < 0 || i >= NodeDeviceDefineXMLFlags(len(_NodeDeviceDefineXMLFlags_index)-1) {
3517 return "NodeDeviceDefineXMLFlags(" + strconv.FormatInt(int64(i+1), 10) + ")"
3518 }
3519 return _NodeDeviceDefineXMLFlags_name[_NodeDeviceDefineXMLFlags_index[i]:_NodeDeviceDefineXMLFlags_index[i+1]]
3520}
3521func _() {
3522 // An "invalid array index" compiler error signifies that the constant values have changed.
3523 // Re-run the stringer command to generate them again.

Callers

nothing calls this directly

Calls 1

NodeDeviceDefineXMLFlagsTypeAlias · 0.85

Tested by

no test coverage detected