12 lines
160 B
Go
12 lines
160 B
Go
package routes
|
|
|
|
import (
|
|
"github.com/flamego/flamego"
|
|
)
|
|
|
|
func InitRoutes(f *flamego.Flame) {
|
|
f.Get("/", getIndex)
|
|
|
|
f.Get("/hardware/add", getHardwareAdd)
|
|
}
|