📝 Added comments for static repository interface methods
This commit is contained in:
parent
369233a83e
commit
7c1337429e
|
@ -8,7 +8,10 @@ import (
|
|||
|
||||
type (
|
||||
Repository interface {
|
||||
// Get returns Resource on path if exists
|
||||
Get(ctx context.Context, path string) (*domain.Resource, error)
|
||||
|
||||
// Fetch returns all resources from dir recursevly.
|
||||
Fetch(ctx context.Context, dir string) (domain.Resources, int, error)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue