윤준석

ADD: router initialization in main function

1 package main 1 package main
2 2
3 -import "github.com/labstack/echo/v4" 3 +import (
4 + "joongna/router"
5 +
6 + "github.com/labstack/echo/v4"
7 +)
4 8
5 func main() { 9 func main() {
6 e := echo.New() 10 e := echo.New()
7 11
12 + router.Init(e)
13 +
8 e.Logger.Fatal(e.Start(":8080")) 14 e.Logger.Fatal(e.Start(":8080"))
9 } 15 }
......