From 04ff032214bf0e1875c13b78381b839eb3fe3886 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Wed, 15 Mar 2017 21:47:21 -0500 Subject: [PATCH] refactor: update build flag for windows. (#197) --- gorush/server_unix.go | 2 +- gorush/server_windows.go | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/gorush/server_unix.go b/gorush/server_unix.go index 2a855d9..b826c2c 100644 --- a/gorush/server_unix.go +++ b/gorush/server_unix.go @@ -1,4 +1,4 @@ -// +build darwin dragonfly freebsd linux nacl netbsd openbsd solaris +// +build !windows package gorush diff --git a/gorush/server_windows.go b/gorush/server_windows.go index 00245cd..bcb9299 100644 --- a/gorush/server_windows.go +++ b/gorush/server_windows.go @@ -1,3 +1,5 @@ +// +build windows + package gorush import (