Refactor handler to server package
This commit is contained in:
parent
fb97ba20c0
commit
ca4e448f82
9 changed files with 215 additions and 189 deletions
4
main.go
4
main.go
|
|
@ -6,11 +6,11 @@ import (
|
|||
|
||||
"github.com/Bronku/iroon/auth"
|
||||
"github.com/Bronku/iroon/logging"
|
||||
"github.com/Bronku/iroon/router"
|
||||
"github.com/Bronku/iroon/server"
|
||||
)
|
||||
|
||||
func main() {
|
||||
h, err := router.New()
|
||||
h, err := server.New()
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue