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:
parent
10f0e2a5a3
commit
70a529d527
@ -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{}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user