github.com/goplus/gossa@v0.3.25/pkg/unicode/utf16/go116_export.go (about)

     1  // export by github.com/goplus/gossa/cmd/qexp
     2  
     3  //+build go1.16,!go1.17
     4  
     5  package utf16
     6  
     7  import (
     8  	q "unicode/utf16"
     9  
    10  	"reflect"
    11  
    12  	"github.com/goplus/gossa"
    13  )
    14  
    15  func init() {
    16  	gossa.RegisterPackage(&gossa.Package{
    17  		Name:       "utf16",
    18  		Path:       "unicode/utf16",
    19  		Deps:       map[string]string{},
    20  		Interfaces: map[string]reflect.Type{},
    21  		NamedTypes: map[string]gossa.NamedType{},
    22  		AliasTypes: map[string]reflect.Type{},
    23  		Vars:       map[string]reflect.Value{},
    24  		Funcs: map[string]reflect.Value{
    25  			"Decode":      reflect.ValueOf(q.Decode),
    26  			"DecodeRune":  reflect.ValueOf(q.DecodeRune),
    27  			"Encode":      reflect.ValueOf(q.Encode),
    28  			"EncodeRune":  reflect.ValueOf(q.EncodeRune),
    29  			"IsSurrogate": reflect.ValueOf(q.IsSurrogate),
    30  		},
    31  		TypedConsts:   map[string]gossa.TypedConst{},
    32  		UntypedConsts: map[string]gossa.UntypedConst{},
    33  	})
    34  }