🗃️ Created basic pages repository interface
This commit is contained in:
parent
5d6cd35e8b
commit
a9586897b3
|
@ -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)
|
||||
}
|
Loading…
Reference in New Issue