12 lines
258 B
Go
12 lines
258 B
Go
|
package platform
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
)
|
||
|
|
||
|
// LookupService provides field lookup for the resource and ID.
|
||
|
type LookupService interface {
|
||
|
// Name returns the name for the resource and ID.
|
||
|
Name(ctx context.Context, resource Resource, id ID) (string, error)
|
||
|
}
|