Browse 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 3 năm trước cách đây
mục cha
commit
75306487c5
2 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 1 0
      wintun/device.go
  2. 1 0
      wintun/tun.go

+ 1 - 0
wintun/device.go

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

+ 1 - 0
wintun/tun.go

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