1
0
mirror of https://github.com/tmrts/go-patterns.git synced 2024-11-29 00:25:31 +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 {
case "windows":
factory = &winFactory{}
break
case "darwin":
factory = &osxFactory{}
break
default:
factory = &otherOSFactory{}
}