Invalidate all Go values (instead of all values of any kind) when calling a Go function