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

Method String

const_strings.gen.go:3552–3557  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3550var _NodeDeviceEventID_index = [...]uint8{0, 26, 49}
3551
3552func (i NodeDeviceEventID) String() string {
3553 if i < 0 || i >= NodeDeviceEventID(len(_NodeDeviceEventID_index)-1) {
3554 return "NodeDeviceEventID(" + strconv.FormatInt(int64(i), 10) + ")"
3555 }
3556 return _NodeDeviceEventID_name[_NodeDeviceEventID_index[i]:_NodeDeviceEventID_index[i+1]]
3557}
3558func _() {
3559 // An "invalid array index" compiler error signifies that the constant values have changed.
3560 // Re-run the stringer command to generate them again.

Callers

nothing calls this directly

Calls 1

NodeDeviceEventIDTypeAlias · 0.85

Tested by

no test coverage detected