Skip to content

Commit

Permalink
Merge pull request #128 from yz271544/revert-short_if-dos2unix
Browse files Browse the repository at this point in the history
convert the short_if.go unix format
  • Loading branch information
thoas authored Sep 9, 2021
2 parents 5de16da + 66b3c88 commit aa45bdd
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions short_if.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package funk

func ShortIf(condition bool, a interface{}, b interface{}) interface{} {
if condition {
return a
}
return b
}
package funk

func ShortIf(condition bool, a interface{}, b interface{}) interface{} {
if condition {
return a
}
return b
}

0 comments on commit aa45bdd

Please sign in to comment.