Skip to content

Commit

Permalink
v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
457813723 committed May 7, 2024
1 parent 49c2e39 commit 61ba0a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ services:
build:
context: ./
dockerfile: Dockerfile
image: mytest:v1.0.0
image: mytest:v2.0.0
container_name: mytest
ports:
- 8899:8899
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
func main() {
r := gin.Default()
r.GET("/test", func(c *gin.Context) {
c.JSON(200, "hello world 111111")
c.JSON(200, "hello world v2.0.0")
})
r.Run("0.0.0.0:8899") // 监听并在 0.0.0.0:8899 上启动服务
}
Expand Down

0 comments on commit 61ba0a1

Please sign in to comment.