🗃️ Created Site repository interface

This commit is contained in:
Maxim Lebedev 2023-11-08 04:29:26 +06:00
parent bd7237f353
commit db541e49c6
Signed by: toby3d
GPG Key ID: 1F14E25B7C119FC5
1 changed files with 13 additions and 0 deletions

View File

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