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

This commit is contained in:
Kevin Wan
2021-09-12 15:41:33 +08:00
committed by GitHub
parent 0b6bc69afa
commit 3f47251892
6 changed files with 15 additions and 0 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,3 +1,4 @@
//go:build !linux
// +build !linux
package stat