Parcourir la source

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 il y a 3 ans
Parent
commit
75306487c5
2 fichiers modifiés avec 2 ajouts et 0 suppressions
  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
  *