This commit is contained in:
parent
068c8819ce
commit
8fa00be3c5
4
main.go
4
main.go
@ -1,6 +1,8 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"fmt"
|
||||||
|
"gateway/config"
|
||||||
"gateway/core"
|
"gateway/core"
|
||||||
"gateway/initialization"
|
"gateway/initialization"
|
||||||
"gateway/middleware"
|
"gateway/middleware"
|
||||||
@ -35,5 +37,5 @@ func main() {
|
|||||||
// context.String(http.StatusOK, get("get", context.Request.RequestURI, context.GetString("X-Request-Id"), dd))
|
// context.String(http.StatusOK, get("get", context.Request.RequestURI, context.GetString("X-Request-Id"), dd))
|
||||||
//})
|
//})
|
||||||
|
|
||||||
_ = app.Run(":8889")
|
_ = app.Run(fmt.Sprintf(":%v", config.AppInfo.Port))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user