Added trailing slash for static routes

This commit is contained in:
2024-03-13 13:04:03 +01:00
parent 3008940025
commit dd98b11eea
8 changed files with 119 additions and 96 deletions

11
flow.go Normal file
View File

@ -0,0 +1,11 @@
package router
// flow tells the main loop what it should do next.
type flow int
// Control flow values.
const (
flowStop flow = iota
flowBegin
flowNext
)