129aac230a
This fixes a `go vet` failure for using an unbuffered channel with os.Signal. This also simplifies platform-specific code. GoFmt added new forward-compatible build tags.
14 lines
146 B
Go
14 lines
146 B
Go
//go:build windows
|
|
// +build windows
|
|
|
|
package main
|
|
|
|
import (
|
|
"os"
|
|
"os/signal"
|
|
"syscall"
|
|
)
|
|
|
|
var ReloadSignals = []os.Signal{
|
|
syscall.SIGHUP,
|
|
}
|