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