D:\GoWorkSpace\src\Gin_API_Framework\api>go run main.go
# Gin_API_Framework/vendor/github.com/fvbock/endless
..\vendor\github.com\fvbock\endless\endless.go:64: undefined: syscall.SIGUSR1
..\vendor\github.com\fvbock\endless\endless.go:65: undefined: syscall.SIGUSR2
..\vendor\github.com\fvbock\endless\endless.go:68: undefined: syscall.SIGTSTP
..\vendor\github.com\fvbock\endless\endless.go:111: undefined: syscall.SIGUSR1
..\vendor\github.com\fvbock\endless\endless.go:112: undefined: syscall.SIGUSR2
..\vendor\github.com\fvbock\endless\endless.go:115: undefined: syscall.SIGTSTP
..\vendor\github.com\fvbock\endless\endless.go:119: undefined: syscall.SIGUSR1
..\vendor\github.com\fvbock\endless\endless.go:120: undefined: syscall.SIGUSR2
..\vendor\github.com\fvbock\endless\endless.go:123: undefined: syscall.SIGTSTP
..\vendor\github.com\fvbock\endless\endless.go:224: undefined: syscall.Kill
..\vendor\github.com\fvbock\endless\endless.go:224: too many errors
endless.go 中syscall.SIGUSR1,syscall.SIGUSR2,syscall.SIGTSTP, 找不到。怎么解决啊。
有疑问加站长微信联系(非本文作者)