fix proc.Done not found in windows (#1026)

master
Kevin Wan 3 years ago committed by GitHub
parent 0b6bc69afa
commit 3f47251892
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,3 +1,4 @@
//go:build windows
// +build windows // +build windows
package fs package fs

@ -1,3 +1,4 @@
//go:build windows
// +build windows // +build windows
package proc package proc

@ -1,3 +1,4 @@
//go:build windows
// +build windows // +build windows
package proc package proc

@ -1,3 +1,4 @@
//go:build windows
// +build windows // +build windows
package proc package proc

@ -0,0 +1,10 @@
//go:build windows
// +build windows
package proc
import "context"
func Done() <-chan struct{} {
return context.Background().Done()
}

@ -1,3 +1,4 @@
//go:build !linux
// +build !linux // +build !linux
package stat package stat
Loading…
Cancel
Save