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

Method String

const_strings.gen.go:2924–2930  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2922var _NodeGetCPUStatsAllCPUs_index = [...]uint8{0, 19}
2923
2924func (i NodeGetCPUStatsAllCPUs) String() string {
2925 i -= -1
2926 if i < 0 || i >= NodeGetCPUStatsAllCPUs(len(_NodeGetCPUStatsAllCPUs_index)-1) {
2927 return "NodeGetCPUStatsAllCPUs(" + strconv.FormatInt(int64(i+-1), 10) + ")"
2928 }
2929 return _NodeGetCPUStatsAllCPUs_name[_NodeGetCPUStatsAllCPUs_index[i]:_NodeGetCPUStatsAllCPUs_index[i+1]]
2930}
2931func _() {
2932 // An "invalid array index" compiler error signifies that the constant values have changed.
2933 // Re-run the stringer command to generate them again.

Callers

nothing calls this directly

Calls 1

NodeGetCPUStatsAllCPUsTypeAlias · 0.85

Tested by

no test coverage detected