If I declare "in" as var of type os.File before the call to binary.read(...)
I get a compile error stating that in is not a reader, without the 
declaration it works fine... 
just odd unexpected behavior.

Johan



On Thursday, October 5, 2017 at 9:16:18 PM UTC+2, Jan Mercl wrote:
>
> On Thu, Oct 5, 2017 at 9:10 PM Johan terryn <johan....@gmail.com 
> <javascript:>> wrote:
>
> > Here is the full (trimmed) working program:
>
> The program compiles just fine (https://play.golang.org/p/Xg3qlovrzg), 
> where is the problem?
>
> -- 
>
> -j
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to