21 lines
454 B
Go
21 lines
454 B
Go
package templating
|
|
|
|
import (
|
|
"github.com/FAU-CDI/wisski-distillery/internal/dis/component"
|
|
"github.com/tkw1536/pkglib/lazy"
|
|
)
|
|
|
|
// Templating implements templating customization
|
|
type Templating struct {
|
|
component.Base
|
|
dependencies struct {
|
|
Routeables []component.Routeable
|
|
Menuable []component.Menuable
|
|
}
|
|
menu lazy.Lazy[[]component.MenuItem]
|
|
}
|
|
|
|
var (
|
|
_ component.Backupable = (*Templating)(nil)
|
|
_ component.Menuable = (*Templating)(nil)
|
|
)
|