Skip to content

Commit

Permalink
remove trace code
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny committed May 2, 2018
1 parent d1e0fe9 commit 9680df5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -1108,7 +1108,7 @@ func (engine *Engine) idOfV(rv reflect.Value) (core.PK, error) {
}
fieldName = parts[1]
}
fmt.Println(table.Name, fieldName, v)

pkField := v.FieldByName(fieldName)
switch pkField.Kind() {
case reflect.String:
Expand Down

0 comments on commit 9680df5

Please sign in to comment.