Files
moxa/stdlib/go1_12_encoding_xml.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

51 lines
2.2 KiB
Go

// +build go1.12,!go1.13
package stdlib
// Code generated by 'goexports encoding/xml'. DO NOT EDIT.
import (
"encoding/xml"
"reflect"
)
func init() {
Value["encoding/xml"] = map[string]reflect.Value{
// function, constant and variable definitions
"CopyToken": reflect.ValueOf(xml.CopyToken),
"Escape": reflect.ValueOf(xml.Escape),
"EscapeText": reflect.ValueOf(xml.EscapeText),
"HTMLAutoClose": reflect.ValueOf(&xml.HTMLAutoClose).Elem(),
"HTMLEntity": reflect.ValueOf(&xml.HTMLEntity).Elem(),
"Header": reflect.ValueOf(xml.Header),
"Marshal": reflect.ValueOf(xml.Marshal),
"MarshalIndent": reflect.ValueOf(xml.MarshalIndent),
"NewDecoder": reflect.ValueOf(xml.NewDecoder),
"NewEncoder": reflect.ValueOf(xml.NewEncoder),
"NewTokenDecoder": reflect.ValueOf(xml.NewTokenDecoder),
"Unmarshal": reflect.ValueOf(xml.Unmarshal),
// type definitions
"Attr": reflect.ValueOf((*xml.Attr)(nil)),
"CharData": reflect.ValueOf((*xml.CharData)(nil)),
"Comment": reflect.ValueOf((*xml.Comment)(nil)),
"Decoder": reflect.ValueOf((*xml.Decoder)(nil)),
"Directive": reflect.ValueOf((*xml.Directive)(nil)),
"Encoder": reflect.ValueOf((*xml.Encoder)(nil)),
"EndElement": reflect.ValueOf((*xml.EndElement)(nil)),
"Marshaler": reflect.ValueOf((*xml.Marshaler)(nil)),
"MarshalerAttr": reflect.ValueOf((*xml.MarshalerAttr)(nil)),
"Name": reflect.ValueOf((*xml.Name)(nil)),
"ProcInst": reflect.ValueOf((*xml.ProcInst)(nil)),
"StartElement": reflect.ValueOf((*xml.StartElement)(nil)),
"SyntaxError": reflect.ValueOf((*xml.SyntaxError)(nil)),
"TagPathError": reflect.ValueOf((*xml.TagPathError)(nil)),
"Token": reflect.ValueOf((*xml.Token)(nil)),
"TokenReader": reflect.ValueOf((*xml.TokenReader)(nil)),
"UnmarshalError": reflect.ValueOf((*xml.UnmarshalError)(nil)),
"Unmarshaler": reflect.ValueOf((*xml.Unmarshaler)(nil)),
"UnmarshalerAttr": reflect.ValueOf((*xml.UnmarshalerAttr)(nil)),
"UnsupportedTypeError": reflect.ValueOf((*xml.UnsupportedTypeError)(nil)),
}
}