Refactor handler to server package

This commit is contained in:
bronku 2025-03-22 22:35:47 +01:00
parent fb97ba20c0
commit ca4e448f82
9 changed files with 215 additions and 189 deletions

View file

@ -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)
}