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

Method String

const_strings.gen.go:1179–1185  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1177var _DomainMemoryFlags_index = [...]uint8{0, 13, 27}
1178
1179func (i DomainMemoryFlags) String() string {
1180 i -= 1
1181 if i < 0 || i >= DomainMemoryFlags(len(_DomainMemoryFlags_index)-1) {
1182 return "DomainMemoryFlags(" + strconv.FormatInt(int64(i+1), 10) + ")"
1183 }
1184 return _DomainMemoryFlags_name[_DomainMemoryFlags_index[i]:_DomainMemoryFlags_index[i+1]]
1185}
1186func _() {
1187 // An "invalid array index" compiler error signifies that the constant values have changed.
1188 // Re-run the stringer command to generate them again.

Callers

nothing calls this directly

Calls 1

DomainMemoryFlagsTypeAlias · 0.85

Tested by

no test coverage detected