From ab2a613fb5323e1d7ec303359e31f8e6da8d9109 Mon Sep 17 00:00:00 2001 From: "kali kaneko (leap communications)" <kali@leap.se> Date: Mon, 6 Apr 2020 20:47:10 +0200 Subject: [PATCH] [refactor] move conditional build instance up --- pkg/helper/windows_install.go | 1 + pkg/helper/windows_manage.go | 4 ++-- pkg/helper/windows_service.go | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/pkg/helper/windows_install.go b/pkg/helper/windows_install.go index 6743e2ad..637e80b5 100644 --- a/pkg/helper/windows_install.go +++ b/pkg/helper/windows_install.go @@ -1,4 +1,5 @@ // +build windows + // Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. diff --git a/pkg/helper/windows_manage.go b/pkg/helper/windows_manage.go index 96da9a7a..4f7bf063 100644 --- a/pkg/helper/windows_manage.go +++ b/pkg/helper/windows_manage.go @@ -1,9 +1,9 @@ +// +build windows + // Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build windows - package helper import ( diff --git a/pkg/helper/windows_service.go b/pkg/helper/windows_service.go index 82f6e2bb..df79d688 100644 --- a/pkg/helper/windows_service.go +++ b/pkg/helper/windows_service.go @@ -1,9 +1,9 @@ +// +build windows + // Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build windows - package helper import ( -- GitLab