diff --git a/short_if.go b/short_if.go index 347c03b..537ff56 100644 --- a/short_if.go +++ b/short_if.go @@ -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 +}