Basic web package and wip on main

This commit is contained in:
2016-07-10 16:34:18 +01:00
parent ae48e665f0
commit 4bf98aac89
4 changed files with 23 additions and 173 deletions

12
web/router.go Normal file
View 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
}