From e56e23e24f96e205d858a2e81f2c6543af080301 Mon Sep 17 00:00:00 2001 From: Deon Thomas Date: Tue, 10 May 2022 15:51:06 -0400 Subject: [PATCH] add newline before return --- utils.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils.go b/utils.go index f1953049..19e761f9 100644 --- a/utils.go +++ b/utils.go @@ -333,10 +333,12 @@ func IsStringInSlice(slice []string, str string) bool { func NowFromTZEnv() time.Time { location, _ := time.LoadLocation(viper.GetString("TZ")) now := time.Now().In(location) + return now } func TimeFromTZEnv(input time.Time) time.Time { location, _ := time.LoadLocation(viper.GetString("TZ")) + return input.In(location) }