Skip to content

Commit

Permalink
Changed TypeOf to TypeFor on single go file
Browse files Browse the repository at this point in the history
  • Loading branch information
liamfallon committed Apr 23, 2024
1 parent df98d23 commit 9a2636b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ func evalExpr(expr string, inputs map[string]interface{}) (string, error) {
return "", err
}

result, err := val.ConvertToNative(reflect.TypeOf(""))
result, err := val.ConvertToNative(reflect.TypeFor[string]())
if err != nil {
return "", err
}
Expand Down

0 comments on commit 9a2636b

Please sign in to comment.