contribsys / faktory_worker_go

Faktory workers for Go
Mozilla Public License 2.0
242 stars 43 forks source link

runner_windows.go signal fix #41

Closed nadilas closed 4 years ago

nadilas commented 4 years ago

This code will not compile on Windows (1.3.0-1):

https://github.com/contribsys/faktory_worker_go/blob/de58a756280d12741a9b36e7acc26aa9e639b178/runner_windows.go#L17-L20

But this matches the rest of the package:

    signalMap = map[os.Signal]string{
        SIGTERM: "terminate",
        SIGINT:  "terminate",
    }
mperham commented 4 years ago

show me the compilation error.

nadilas commented 4 years ago

here you go:

# github.com/contribsys/faktory_worker_go
..\vendor\github.com\contribsys\faktory_worker_go\runner_windows.go:17:28: undefined: eventType