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

36 lines
1.1 KiB
Go

// +build go1.11,!go1.12
package stdlib
// Code generated by 'goexports go/doc'. DO NOT EDIT.
import (
"go/doc"
"reflect"
)
func init() {
Value["go/doc"] = map[string]reflect.Value{
// function, constant and variable definitions
"AllDecls": reflect.ValueOf(doc.AllDecls),
"AllMethods": reflect.ValueOf(doc.AllMethods),
"Examples": reflect.ValueOf(doc.Examples),
"IllegalPrefixes": reflect.ValueOf(&doc.IllegalPrefixes).Elem(),
"IsPredeclared": reflect.ValueOf(doc.IsPredeclared),
"New": reflect.ValueOf(doc.New),
"Synopsis": reflect.ValueOf(doc.Synopsis),
"ToHTML": reflect.ValueOf(doc.ToHTML),
"ToText": reflect.ValueOf(doc.ToText),
// type definitions
"Example": reflect.ValueOf((*doc.Example)(nil)),
"Filter": reflect.ValueOf((*doc.Filter)(nil)),
"Func": reflect.ValueOf((*doc.Func)(nil)),
"Mode": reflect.ValueOf((*doc.Mode)(nil)),
"Note": reflect.ValueOf((*doc.Note)(nil)),
"Package": reflect.ValueOf((*doc.Package)(nil)),
"Type": reflect.ValueOf((*doc.Type)(nil)),
"Value": reflect.ValueOf((*doc.Value)(nil)),
}
}