1
0
mirror of https://github.com/tmrts/go-patterns.git synced 2024-11-25 06:26:06 +03:00

removed break statement

This commit is contained in:
Inux 2016-09-19 19:59:41 +02:00
parent 10f0e2a5a3
commit 70a529d527

View File

@ -75,10 +75,8 @@ func main() {
switch runtime.GOOS { switch runtime.GOOS {
case "windows": case "windows":
factory = &winFactory{} factory = &winFactory{}
break
case "darwin": case "darwin":
factory = &osxFactory{} factory = &osxFactory{}
break
default: default:
factory = &otherOSFactory{} factory = &otherOSFactory{}
} }