Uhm I might be mistaken, but I guess [8192]byte is an array, and []byte are slices - therefore they are different types.
- CC
2015-05-23 17:53 GMT+02:00 erik quanstrom <[email protected]>:
> well, at least dennis wrote "why pascal is not my favorite programming
> language".
>
> from go build
>
> ./cat.go:36: cannot use data (type [8192]byte) as type []byte in
> argument to cat
>
> what? perhaps i'm missing something about the language, but it sure seems
> ironic.
>
> - erik
>
>
