Pretty cryptic question. What’s the context / code producing the error message.
I’m guessing you processing an encoded stream using an io.Reader. If the decoding reaches an io.EOF condition without the decoding completed you’ll get that error. See https://play.golang.org/p/m9lOV0S-2po.