소스 검색

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
  *