This fixes problems due to storing binary symbols as interfaces{}
instead of concrete type, which confuses lookup functions to retrieve
methods etc. in reflect.
17 lines
305 B
Go
17 lines
305 B
Go
package stdlib
|
|
|
|
// Generated by 'goexports go/format'. Do not edit!
|
|
|
|
import (
|
|
"go/format"
|
|
"reflect"
|
|
)
|
|
|
|
func init() {
|
|
Value["go/format"] = map[string]reflect.Value{
|
|
"Node": reflect.ValueOf(format.Node),
|
|
"Source": reflect.ValueOf(format.Source),
|
|
}
|
|
Type["go/format"] = map[string]reflect.Type{}
|
|
}
|