You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 14, 2022. It is now read-only.
Checking out your binding lib, looks nice and I think it's going to save me a bunch of time! The README docs mention the ability to call Handle with Bind in a one-liner fashion, however (Go 1.3) I get an error. I annotated the error on the commented lines below, you can see I'm using the same exact arguments with the non-commented lines which compile fine.
Nice find. And @wmark thanks for pointing out the discrepancy.
I could change the Handle method to have a value receiver, which would enable that convenient, chained one-liner, rather than having to separate the assignment into a different statement. I tried this locally and confirmed that the example in the README still works, including that one line that is currently broken.
Making the change is simple. But I'm not sure if there are other implications of changing the receiver on that method from pointer to value. Can you think of any? If there aren't any obvious implications that I'm overlooking, I'll just make the change and resolve this issue.
Checking out your binding lib, looks nice and I think it's going to save me a bunch of time! The README docs mention the ability to call Handle with Bind in a one-liner fashion, however (Go 1.3) I get an error. I annotated the error on the commented lines below, you can see I'm using the same exact arguments with the non-commented lines which compile fine.
Thanks again, Troy
The text was updated successfully, but these errors were encountered: