From 70a529d527529f1ff570be119f6dec828c254ab5 Mon Sep 17 00:00:00 2001 From: Inux Date: Mon, 19 Sep 2016 19:59:41 +0200 Subject: [PATCH] removed break statement --- creational/abstract_factory.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/creational/abstract_factory.go b/creational/abstract_factory.go index 3a09714..c8889ca 100644 --- a/creational/abstract_factory.go +++ b/creational/abstract_factory.go @@ -75,10 +75,8 @@ func main() { switch runtime.GOOS { case "windows": factory = &winFactory{} - break case "darwin": factory = &osxFactory{} - break default: factory = &otherOSFactory{} }