Merge pull request #191 from uhthomas/master

Add build guards for all Windows imports
This commit is contained in:
Kathryn Baldauf
2021-02-10 17:11:08 -08:00
committed by GitHub
34 changed files with 73 additions and 0 deletions
+2
View File
@@ -1,3 +1,5 @@
// +build windows
package winio
import (
+2
View File
@@ -1,3 +1,5 @@
// +build windows
package backuptar
import (
+2
View File
@@ -1,3 +1,5 @@
// +build windows
package winio
import (
+2
View File
@@ -1,3 +1,5 @@
// +build windows
package winio
import (
+2
View File
@@ -1,3 +1,5 @@
// +build windows
package winio
import (
+2
View File
@@ -1,3 +1,5 @@
// +build windows
package etw
import (
+2
View File
@@ -1,3 +1,5 @@
// +build windows
package etw
import (
+2
View File
@@ -1,3 +1,5 @@
// +build windows
package etw
import (
+1
View File
@@ -1,3 +1,4 @@
// +build windows
// +build amd64 arm64 386
package etw
+1
View File
@@ -1,3 +1,4 @@
// +build windows
// +build arm
package etw
+2
View File
@@ -1,3 +1,5 @@
// +build windows
package etw
import (
+2
View File
@@ -1,3 +1,5 @@
// +build windows
package etw
import (
+2
View File
@@ -1,3 +1,5 @@
// +build windows
package etw
import (
+5
View File
@@ -0,0 +1,5 @@
// +build !windows
package main
func main() {}
+2
View File
@@ -1,3 +1,5 @@
// +build windows
// Shows a sample usage of the ETW logging package.
package main
+1
View File
@@ -1,3 +1,4 @@
// +build windows
// +build 386 arm
package etw
+1
View File
@@ -1,3 +1,4 @@
// +build windows
// +build amd64 arm64
package etw
+2
View File
@@ -1,3 +1,5 @@
// +build windows
package etwlogrus
import (
+2
View File
@@ -1,3 +1,5 @@
// +build windows
package etwlogrus
import (
+2
View File
@@ -1,3 +1,5 @@
// +build windows
// Package guid provides a GUID type. The backing structure for a GUID is
// identical to that used by the golang.org/x/sys/windows GUID type.
// There are two main binary encodings used for a GUID, the big-endian encoding,
+2
View File
@@ -1,3 +1,5 @@
// +build windows
package guid
import (
+2
View File
@@ -1,3 +1,5 @@
// +build windows
package process
import (
+2
View File
@@ -1,3 +1,5 @@
// +build windows
package process
import (
+2
View File
@@ -1,3 +1,5 @@
// +build windows
package security
import (
+2
View File
@@ -1,3 +1,5 @@
//+build windows
package security
import (
+2
View File
@@ -1,3 +1,5 @@
// +build windows
package winio
import "testing"
+2
View File
@@ -1,3 +1,5 @@
// +build windows
package winio
import "testing"
+2
View File
@@ -1,3 +1,5 @@
// +build windows
package main
import (
+5
View File
@@ -0,0 +1,5 @@
// +build !windows
package main
func main() {}
+2
View File
@@ -1,3 +1,5 @@
// +build windows
// MACHINE GENERATED BY 'go generate' COMMAND; DO NOT EDIT
package vhd
+2
View File
@@ -1,3 +1,5 @@
// +build windows
package wim
import (
+5
View File
@@ -0,0 +1,5 @@
// +build !windows
package main
func main() {}
+2
View File
@@ -1,3 +1,5 @@
// +build windows
package main
import (
+2
View File
@@ -1,3 +1,5 @@
// +build windows
// Package wim implements a WIM file parser.
//
// WIM files are used to distribute Windows file system and container images.