rag/internal/http/http.go

15 lines
223 B
Go
Raw Normal View History

2024-06-13 07:36:51 +00:00
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()
}