package route import ( "web/controller" "web/server" ) func RegistIndex(s *server.Server) { c := controller.IndexController{} s.GET("/", c.Index()) }