From c0f47bea5b5cbe7b25181272212737e6b4f2d6d2 Mon Sep 17 00:00:00 2001 From: FengZhang Date: Fri, 25 Nov 2022 22:35:23 +0800 Subject: [PATCH] optimize: remove unless function (#369) remove unless function --- pkg/datasource/sql/types/image.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pkg/datasource/sql/types/image.go b/pkg/datasource/sql/types/image.go index db69a75d..fced189a 100644 --- a/pkg/datasource/sql/types/image.go +++ b/pkg/datasource/sql/types/image.go @@ -20,7 +20,6 @@ package types import ( "encoding/base64" "encoding/json" - "fmt" "reflect" "time" ) @@ -262,10 +261,6 @@ func (c *ColumnImage) UnmarshalJSON(data []byte) error { return nil } -func getTypeStr(src interface{}) string { - return fmt.Sprintf("%T", src) -} - func (c *ColumnImage) GetActualValue() interface{} { if c.Value == nil { return nil