🗃️ Created basic pages repository interface

This commit is contained in:
Maxim Lebedev 2023-11-08 05:09:18 +06:00
parent 5d6cd35e8b
commit a9586897b3
Signed by: toby3d
GPG Key ID: 1F14E25B7C119FC5
1 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,13 @@
package page
import (
"context"
"golang.org/x/text/language"
"source.toby3d.me/toby3d/home/internal/domain"
)
type Repository interface {
Get(ctx context.Context, lang language.Tag, path string) (*domain.Page, error)
}