From 66b3c88f92b885bf9cb91400616505c14b77eaf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=83=A1=E6=AD=A3=E9=98=B3?= Date: Thu, 9 Sep 2021 12:57:07 +0800 Subject: [PATCH] convert the short_if.go unix format --- short_if.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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 +}