🗃️ Created sample theme repository interface
This commit is contained in:
parent
72eb8627ee
commit
c61ab4d929
|
@ -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)
|
||||
}
|
Loading…
Reference in New Issue