📝 Added comments for static repository interface methods

This commit is contained in:
Maxim Lebedev 2023-11-10 09:09:54 +06:00
parent 369233a83e
commit 7c1337429e
Signed by: toby3d
GPG Key ID: 1F14E25B7C119FC5
1 changed files with 3 additions and 0 deletions

View File

@ -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)
}