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

Method String

const_strings.gen.go:3246–3251  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3244var _NetworkUpdateCommand_index = [...]uint8{0, 24, 50, 76, 103, 131}
3245
3246func (i NetworkUpdateCommand) String() string {
3247 if i < 0 || i >= NetworkUpdateCommand(len(_NetworkUpdateCommand_index)-1) {
3248 return "NetworkUpdateCommand(" + strconv.FormatInt(int64(i), 10) + ")"
3249 }
3250 return _NetworkUpdateCommand_name[_NetworkUpdateCommand_index[i]:_NetworkUpdateCommand_index[i+1]]
3251}
3252func _() {
3253 // An "invalid array index" compiler error signifies that the constant values have changed.
3254 // Re-run the stringer command to generate them again.

Callers

nothing calls this directly

Calls 1

NetworkUpdateCommandTypeAlias · 0.85

Tested by

no test coverage detected