remove logs
This commit is contained in:
parent
d8da93fdb4
commit
c529dd2cc6
@ -2,7 +2,6 @@ package util
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"log"
|
||||
"reflect"
|
||||
"strconv"
|
||||
"strings"
|
||||
@ -12,7 +11,6 @@ const TIME_PARSE_LAYOUT = "2/1/2006"
|
||||
const NilIntVal = int8(0)
|
||||
|
||||
func StringToInt[T int8 | int32 | int16 | int64](s string) T {
|
||||
log.Println(s)
|
||||
var val T
|
||||
if strings.TrimSpace(s) == "" {
|
||||
return 0
|
||||
|
Loading…
Reference in New Issue
Block a user