Skip to content

Commit

Permalink
fix errors tinyint
Browse files Browse the repository at this point in the history
  • Loading branch information
illia-li committed Oct 9, 2024
1 parent f753084 commit e25a17d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions marshal/tinyint/unmarshal_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ func DecReflect(p []byte, v reflect.Value) error {
case reflect.String:
return decReflectString(p, v)
default:
return fmt.Errorf("failed to unmarshal tinyint: unsupported value type %#v)", v.Interface())
return fmt.Errorf("failed to unmarshal tinyint: unsupported value type %#v", v.Interface())
}
}

Expand All @@ -468,7 +468,7 @@ func DecReflectR(p []byte, v reflect.Value) error {
case reflect.String:
return decReflectStringR(p, v)
default:
return fmt.Errorf("failed to unmarshal tinyint: unsupported value type (%T)(%#[1]v)", v.Interface())
return fmt.Errorf("failed to unmarshal tinyint: unsupported value type %#v", v.Interface())
}
}

Expand Down

0 comments on commit e25a17d

Please sign in to comment.