15 lines
224 B
Go
15 lines
224 B
Go
package http
|
|
|
|
import (
|
|
"framework_v2/internal/access"
|
|
"framework_v2/internal/providers"
|
|
)
|
|
|
|
func InitHttp() {
|
|
if access.Router == nil {
|
|
panic("You must call InitGin() before InitHttp()")
|
|
}
|
|
|
|
providers.InitApiRoutes()
|
|
}
|