22 lines
235 B
Go
22 lines
235 B
Go
|
package models
|
||
|
|
||
|
type MenuItem struct {
|
||
|
Label string
|
||
|
Href string
|
||
|
}
|
||
|
|
||
|
var DefaultMenu []MenuItem = []MenuItem{
|
||
|
{
|
||
|
Label: "home",
|
||
|
Href: "/",
|
||
|
},
|
||
|
{
|
||
|
Label: "new",
|
||
|
Href: "/new",
|
||
|
},
|
||
|
{
|
||
|
Label: "about",
|
||
|
Href: "/about",
|
||
|
},
|
||
|
}
|