Преглед на файлове

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 преди 3 години
родител
ревизия
75306487c5
променени са 2 файла, в които са добавени 2 реда и са изтрити 0 реда
  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
  *