From 6cd11a28a2684d817e45f0aea4240cff414233bb Mon Sep 17 00:00:00 2001 From: Valeriy Solovyov Date: Wed, 16 Sep 2020 23:33:31 +0300 Subject: [PATCH] Fixing style --- caste.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/caste.go b/caste.go index d196942..e662a35 100644 --- a/caste.go +++ b/caste.go @@ -1273,9 +1273,9 @@ func parseDateWith(s string, dates []string) (d time.Time, e error) { return } } - if i, err := strconv.Atoi(s); err == nil { - return time.Unix(int64(i), 0), nil - } + if i, err := strconv.Atoi(s); err == nil { + return time.Unix(int64(i), 0), nil + } return d, fmt.Errorf("unable to parse date: %s", s) }