Browse Source

optimize: remove unless function (#369)

remove unless function
tags/1.0.2-RC1
FengZhang GitHub 2 years ago
parent
commit
c0f47bea5b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 5 deletions
  1. +0
    -5
      pkg/datasource/sql/types/image.go

+ 0
- 5
pkg/datasource/sql/types/image.go View File

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


Loading…
Cancel
Save