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