4 ms·
type Resource interface { Status() Status } type Status interface { Ready() bool } This is better expressed as type Statuser
by preseinger 4y ago
type Resource interface {
Status() Status
}
type Status interface {
Ready() bool
}
This is better expressed as
type Statuser interface { Status() Status }
type Readyer interface { Ready() bool }