remove logs

This commit is contained in:
nochill 2024-03-06 09:30:43 +07:00
parent d8da93fdb4
commit c529dd2cc6

View File

@ -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