From 20e49ee74980ac330a0a5388c6772b3cfc8a122c Mon Sep 17 00:00:00 2001 From: Chris Cummer Date: Thu, 14 Jun 2018 16:41:08 -0700 Subject: [PATCH] Add platform-specific compile directives to system module --- system/{system_info_darwin.go => system_info.go} | 2 ++ system/system_info_windows.go | 2 ++ 2 files changed, 4 insertions(+) rename system/{system_info_darwin.go => system_info.go} (98%) diff --git a/system/system_info_darwin.go b/system/system_info.go similarity index 98% rename from system/system_info_darwin.go rename to system/system_info.go index 1582ebe7..37b09a43 100644 --- a/system/system_info_darwin.go +++ b/system/system_info.go @@ -1,3 +1,5 @@ +// +build !windows + package system import ( diff --git a/system/system_info_windows.go b/system/system_info_windows.go index 5e354b6b..0b10c703 100644 --- a/system/system_info_windows.go +++ b/system/system_info_windows.go @@ -1,3 +1,5 @@ +// +build windows + package system import (