mirror of
https://github.com/jimeh/ozu.io.git
synced 2026-02-19 08:06:39 +00:00
Basic web package and wip on main
This commit is contained in:
12
web/router.go
Normal file
12
web/router.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package web
|
||||
|
||||
import (
|
||||
"github.com/buaazp/fasthttprouter"
|
||||
"github.com/jimeh/ozu.io/shortner"
|
||||
)
|
||||
|
||||
func NewRouter(shortner *shortner.Shortner) *fasthttprouter.Router {
|
||||
router := fasthttprouter.New()
|
||||
|
||||
return router
|
||||
}
|
||||
Reference in New Issue
Block a user