-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
io.go
28 lines (26 loc) · 1 KB
/
io.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package gopkg
import (
"io"
"reflect"
)
func init() {
Packages["io"] = map[string]reflect.Value{
"Copy": reflect.ValueOf(io.Copy),
"CopyN": reflect.ValueOf(io.CopyN),
"EOF": reflect.ValueOf(io.EOF),
"ErrClosedPipe": reflect.ValueOf(io.ErrClosedPipe),
"ErrNoProgress": reflect.ValueOf(io.ErrNoProgress),
"ErrShortBuffer": reflect.ValueOf(io.ErrShortBuffer),
"ErrShortWrite": reflect.ValueOf(io.ErrShortWrite),
"ErrUnexpectedEOF": reflect.ValueOf(io.ErrUnexpectedEOF),
"LimitReader": reflect.ValueOf(io.LimitReader),
"MultiReader": reflect.ValueOf(io.MultiReader),
"MultiWriter": reflect.ValueOf(io.MultiWriter),
"NewSectionReader": reflect.ValueOf(io.NewSectionReader),
"Pipe": reflect.ValueOf(io.Pipe),
"ReadAtLeast": reflect.ValueOf(io.ReadAtLeast),
"ReadFull": reflect.ValueOf(io.ReadFull),
"TeeReader": reflect.ValueOf(io.TeeReader),
"WriteString": reflect.ValueOf(io.WriteString),
}
}