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

Method String

const_strings.gen.go:4218–4223  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4216var _ErrorLevel_index = [...]uint8{0, 7, 17, 25}
4217
4218func (i ErrorLevel) String() string {
4219 if i < 0 || i >= ErrorLevel(len(_ErrorLevel_index)-1) {
4220 return "ErrorLevel(" + strconv.FormatInt(int64(i), 10) + ")"
4221 }
4222 return _ErrorLevel_name[_ErrorLevel_index[i]:_ErrorLevel_index[i+1]]
4223}
4224func _() {
4225 // An "invalid array index" compiler error signifies that the constant values have changed.
4226 // Re-run the stringer command to generate them again.

Callers

nothing calls this directly

Calls 1

ErrorLevelTypeAlias · 0.85

Tested by

no test coverage detected