Compare commits
No commits in common. "8fa00be3c5ee70517c2ed7293886b30bc3e1c8a6" and "21950f5dbfb7a223df66db6fe697c9d8ac25ee00" have entirely different histories.
8fa00be3c5
...
21950f5dbf
@ -1,10 +1,5 @@
|
|||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: build
|
name: build
|
||||||
|
|
||||||
# 减少没必要的重复拉取仓库
|
|
||||||
clone:
|
|
||||||
disable: true
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: 打包Docker镜像并推送
|
- name: 打包Docker镜像并推送
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
|
4
main.go
4
main.go
@ -1,8 +1,6 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
|
||||||
"gateway/config"
|
|
||||||
"gateway/core"
|
"gateway/core"
|
||||||
"gateway/initialization"
|
"gateway/initialization"
|
||||||
"gateway/middleware"
|
"gateway/middleware"
|
||||||
@ -37,5 +35,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(fmt.Sprintf(":%v", config.AppInfo.Port))
|
_ = app.Run(":8889")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user