package pleasePutMeInYourVendorsDir import ( "io" ... ) ... func sureYouCan() { // ... io.EOF = io.ErrShortWrite // ... }