12 lines
206 B
Go
12 lines
206 B
Go
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)
|
|
}
|