Skip to content

Commit

Permalink
optimize: remove unless function (#369)
Browse files Browse the repository at this point in the history
remove unless function
  • Loading branch information
Code-Fight authored Nov 25, 2022
1 parent 78b8f64 commit c0f47be
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pkg/datasource/sql/types/image.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ package types
import (
"encoding/base64"
"encoding/json"
"fmt"
"reflect"
"time"
)
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c0f47be

Please sign in to comment.