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

Method String

const_strings.gen.go:997–1009  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

995)
996
997func (i DomainSaveRestoreFlags) String() string {
998 switch {
999 case 1 <= i && i <= 2:
1000 i -= 1
1001 return _DomainSaveRestoreFlags_name_0[_DomainSaveRestoreFlags_index_0[i]:_DomainSaveRestoreFlags_index_0[i+1]]
1002 case i == 4:
1003 return _DomainSaveRestoreFlags_name_1
1004 case i == 8:
1005 return _DomainSaveRestoreFlags_name_2
1006 default:
1007 return "DomainSaveRestoreFlags(" + strconv.FormatInt(int64(i), 10) + ")"
1008 }
1009}
1010func _() {
1011 // An "invalid array index" compiler error signifies that the constant values have changed.
1012 // Re-run the stringer command to generate them again.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected