Restructure appp

This commit is contained in:
Eden Kirin
2023-10-24 08:30:29 +02:00
parent 84bc7bc619
commit 2c27723049
4 changed files with 64 additions and 93 deletions

7
app/views/router.go Normal file
View File

@ -0,0 +1,7 @@
package views
import "github.com/kataras/iris/v12"
func CreateRouter(app *iris.Application) {
app.Get("/", GetIndexPage)
}