Thanks to visit codestin.com
Credit goes to github.com

Skip to content

mac 执行完goc build . --debug之后无法使用control+c关闭程序 #171

@rouhua497

Description

@rouhua497

goc version v1.3.5
mac version Big Sur 11.2.1
go version go1.16 darwin/amd64

测试程序:

`package main

import (
"fmt"

"github.com/gin-gonic/gin"

)

func main() {
test()
r := gin.Default()
r.GET("/ping", func(c *gin.Context) {
c.JSON(200, gin.H{
"message": "pong",
})
})
r.Run() // listen and serve on 0.0.0.0:8080 (for windows "localhost:8080")
}

func test() {
fmt.Println("hello goc")
}`

goc build . --debug 之后执行可执行程序 无法使用control+c关闭程序

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions