Skip to content

Commit aa45bdd

Browse files
authored
Merge pull request #128 from yz271544/revert-short_if-dos2unix
convert the short_if.go unix format
2 parents 5de16da + 66b3c88 commit aa45bdd

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

short_if.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
package funk
2-
3-
func ShortIf(condition bool, a interface{}, b interface{}) interface{} {
4-
if condition {
5-
return a
6-
}
7-
return b
8-
}
1+
package funk
2+
3+
func ShortIf(condition bool, a interface{}, b interface{}) interface{} {
4+
if condition {
5+
return a
6+
}
7+
return b
8+
}

0 commit comments

Comments
 (0)