From 75306487c50a9c3a9c9ebbb0f68243ff47af0b53 Mon Sep 17 00:00:00 2001 From: Wade Simmons Date: Tue, 30 Nov 2021 11:14:15 -0500 Subject: [PATCH] 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 --- wintun/device.go | 1 + wintun/tun.go | 1 + 2 files changed, 2 insertions(+) diff --git a/wintun/device.go b/wintun/device.go index 34bc290..1db60a7 100644 --- a/wintun/device.go +++ b/wintun/device.go @@ -1,4 +1,5 @@ //go:build windows +// +build windows /* SPDX-License-Identifier: MIT * diff --git a/wintun/tun.go b/wintun/tun.go index 0c677e5..a2dfe5e 100644 --- a/wintun/tun.go +++ b/wintun/tun.go @@ -1,4 +1,5 @@ //go:build windows +// +build windows /* SPDX-License-Identifier: MIT *