🗃️ Created sample theme repository interface

This commit is contained in:
Maxim Lebedev 2023-11-08 08:50:44 +06:00
parent 72eb8627ee
commit c61ab4d929
Signed by: toby3d
GPG Key ID: 1F14E25B7C119FC5
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
package theme
import (
"context"
"html/template"
)
type Repository interface {
// TODO(toby3d): use Page context to find it's specific template.
Get(ctx context.Context) (*template.Template, error)
}