Explorar o código

fix `wintun` package to have // +build comments (#598)

Without these comments, gofmt 1.16.9 will complain. Since we otherwise
still support building with go1.16, lets add the comments to make it
easier to compile and gofmt.

Related: #588
Wade Simmons %!s(int64=3) %!d(string=hai) anos
pai
achega
75306487c5
Modificáronse 2 ficheiros con 2 adicións e 0 borrados
  1. 1 0
      wintun/device.go
  2. 1 0
      wintun/tun.go

+ 1 - 0
wintun/device.go

@@ -1,4 +1,5 @@
 //go:build windows
+// +build windows
 
 /* SPDX-License-Identifier: MIT
  *

+ 1 - 0
wintun/tun.go

@@ -1,4 +1,5 @@
 //go:build windows
+// +build windows
 
 /* SPDX-License-Identifier: MIT
  *