Skip to content

Commit bdc63ee

Browse files
committed
Remove unnecessary assignment
1 parent ff650ca commit bdc63ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

languages/go/goeql/goeql.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ func ToEncryptedColumn(value any, table string, column string, queryType any) (E
191191
if err != nil {
192192
return EncryptedColumn{}, fmt.Errorf("error: %v", err)
193193
}
194-
data := EncryptedColumn{K: "pt", P: str, I: TableColumn{T: table, C: column}, V: 1, Q: nil}
194+
data := EncryptedColumn{K: "pt", P: str, I: TableColumn{T: table, C: column}, V: 1}
195195
if queryType != nil {
196196
data.Q = queryType
197197
}

0 commit comments

Comments
 (0)