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

Method String

const_strings.gen.go:1773–1778  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1771var _KeycodeSet_index = [...]uint8{0, 15, 27, 43, 59, 75, 88, 103, 116, 131, 145}
1772
1773func (i KeycodeSet) String() string {
1774 if i < 0 || i >= KeycodeSet(len(_KeycodeSet_index)-1) {
1775 return "KeycodeSet(" + strconv.FormatInt(int64(i), 10) + ")"
1776 }
1777 return _KeycodeSet_name[_KeycodeSet_index[i]:_KeycodeSet_index[i+1]]
1778}
1779func _() {
1780 // An "invalid array index" compiler error signifies that the constant values have changed.
1781 // Re-run the stringer command to generate them again.

Callers

nothing calls this directly

Calls 1

KeycodeSetTypeAlias · 0.85

Tested by

no test coverage detected