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

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