component: Automatically determine names
This commit is contained in:
parent
10df1c3243
commit
e320bb37bb
31 changed files with 84 additions and 113 deletions
|
|
@ -15,8 +15,6 @@ type Static struct {
|
|||
component.ComponentBase
|
||||
}
|
||||
|
||||
func (*Static) Name() string { return "static" }
|
||||
|
||||
func (*Static) Routes() []string { return []string{"/static/"} }
|
||||
|
||||
//go:embed dist
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue