github.com/goplus/igop@v0.25.0/pkg/html/go115_export.go (about)

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