corso/src/internal/common/idname.go
ryanfkeepers 547b8c767e introduce idnamer
Adds a common interface: idNamer, which is used
to pass around tuples of an id and a name for some
resource.  Also adds compliance to this iface in
selectors, where a selector's ID and Name are the
DiscreteOwner values.
2023-03-29 17:08:19 -06:00

7 lines
71 B
Go

package common
type IDNamer interface {
ID() string
Name() string
}