Uhm I might be mistaken, but I guess [8192]byte is an array, and []byte are slices - therefore they are different types.- CC2015-05-23 17:53 GMT+02:00 erik quanstrom <quanstro@quanstro.net>: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