Restructure & refactor codebase
This commit is contained in:
parent
4bd4921131
commit
90fbba600f
126 changed files with 3492 additions and 3550 deletions
|
|
@ -1,20 +0,0 @@
|
|||
package widget
|
||||
|
||||
import (
|
||||
"html/template"
|
||||
)
|
||||
|
||||
type HTML struct {
|
||||
widgetBase `yaml:",inline"`
|
||||
Source template.HTML `yaml:"source"`
|
||||
}
|
||||
|
||||
func (widget *HTML) Initialize() error {
|
||||
widget.withTitle("").withError(nil)
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
func (widget *HTML) Render() template.HTML {
|
||||
return widget.Source
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue