Files
moxa/stdlib/go1_12_io.go
Ludovic Fernandez 7e07a183ed chore: support go1.11 and go 1.12. (#130)
* feat: support go1.11 and go 1.12.

* chore: generate.

* fix: build constraint.

* exclude importer.For

* generate go 1.11
2019-03-19 22:08:17 +01:00

65 lines
2.9 KiB
Go

// +build go1.12,!go1.13
package stdlib
// Code generated by 'goexports io'. DO NOT EDIT.
import (
"io"
"reflect"
)
func init() {
Value["io"] = map[string]reflect.Value{
// function, constant and variable definitions
"Copy": reflect.ValueOf(io.Copy),
"CopyBuffer": reflect.ValueOf(io.CopyBuffer),
"CopyN": reflect.ValueOf(io.CopyN),
"EOF": reflect.ValueOf(&io.EOF).Elem(),
"ErrClosedPipe": reflect.ValueOf(&io.ErrClosedPipe).Elem(),
"ErrNoProgress": reflect.ValueOf(&io.ErrNoProgress).Elem(),
"ErrShortBuffer": reflect.ValueOf(&io.ErrShortBuffer).Elem(),
"ErrShortWrite": reflect.ValueOf(&io.ErrShortWrite).Elem(),
"ErrUnexpectedEOF": reflect.ValueOf(&io.ErrUnexpectedEOF).Elem(),
"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),
"SeekCurrent": reflect.ValueOf(io.SeekCurrent),
"SeekEnd": reflect.ValueOf(io.SeekEnd),
"SeekStart": reflect.ValueOf(io.SeekStart),
"TeeReader": reflect.ValueOf(io.TeeReader),
"WriteString": reflect.ValueOf(io.WriteString),
// type definitions
"ByteReader": reflect.ValueOf((*io.ByteReader)(nil)),
"ByteScanner": reflect.ValueOf((*io.ByteScanner)(nil)),
"ByteWriter": reflect.ValueOf((*io.ByteWriter)(nil)),
"Closer": reflect.ValueOf((*io.Closer)(nil)),
"LimitedReader": reflect.ValueOf((*io.LimitedReader)(nil)),
"PipeReader": reflect.ValueOf((*io.PipeReader)(nil)),
"PipeWriter": reflect.ValueOf((*io.PipeWriter)(nil)),
"ReadCloser": reflect.ValueOf((*io.ReadCloser)(nil)),
"ReadSeeker": reflect.ValueOf((*io.ReadSeeker)(nil)),
"ReadWriteCloser": reflect.ValueOf((*io.ReadWriteCloser)(nil)),
"ReadWriteSeeker": reflect.ValueOf((*io.ReadWriteSeeker)(nil)),
"ReadWriter": reflect.ValueOf((*io.ReadWriter)(nil)),
"Reader": reflect.ValueOf((*io.Reader)(nil)),
"ReaderAt": reflect.ValueOf((*io.ReaderAt)(nil)),
"ReaderFrom": reflect.ValueOf((*io.ReaderFrom)(nil)),
"RuneReader": reflect.ValueOf((*io.RuneReader)(nil)),
"RuneScanner": reflect.ValueOf((*io.RuneScanner)(nil)),
"SectionReader": reflect.ValueOf((*io.SectionReader)(nil)),
"Seeker": reflect.ValueOf((*io.Seeker)(nil)),
"StringWriter": reflect.ValueOf((*io.StringWriter)(nil)),
"WriteCloser": reflect.ValueOf((*io.WriteCloser)(nil)),
"WriteSeeker": reflect.ValueOf((*io.WriteSeeker)(nil)),
"Writer": reflect.ValueOf((*io.Writer)(nil)),
"WriterAt": reflect.ValueOf((*io.WriterAt)(nil)),
"WriterTo": reflect.ValueOf((*io.WriterTo)(nil)),
}
}