package server import ( "framework_v2/internal/app/facades" "framework_v2/internal/routes" ) func InitHttp() { if facades.Router == nil { panic("You must call InitGin() before InitHttp()") } routes.InitApiRoutes() }