Minor change to io-handle stringification

master
sloum 2 years ago
parent b54c7b626b
commit 26f693c73a

@ -15,12 +15,12 @@ type IOHandle struct {
}
func (i IOHandle) String() string {
state := "closed"
state := "CLOSED"
if i.Open {
state = "open"
state = "OPEN"
}
return fmt.Sprintf("%s %s io-handle", state, i.Kind)
return fmt.Sprintf("[%s] io-handle: %s", state, i.Kind)
}
type number float64

Loading…
Cancel
Save