mirror of https://github.com/aziis98/go-vite-kit
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
309 B
Go
18 lines
309 B
Go
package routes
|
|
|
|
import "go-vite-kit/backend/database"
|
|
|
|
type Router struct {
|
|
Database database.Database
|
|
}
|
|
|
|
type htmlEntrypoint struct {
|
|
Route string `json:"route"`
|
|
Filename string `json:"filename"`
|
|
}
|
|
|
|
var HtmlEntrypoints = []htmlEntrypoint{
|
|
{"/", "./index.html"},
|
|
// {"/u/:username", "./user.html"},
|
|
}
|