12 lines
181 B
Go
12 lines
181 B
Go
|
package resource
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
|
||
|
"source.toby3d.me/toby3d/home/internal/domain"
|
||
|
)
|
||
|
|
||
|
type UseCase interface {
|
||
|
Do(ctx context.Context, path string) (*domain.Resource, error)
|
||
|
}
|