github.com/goplus/igop@v0.25.0/pkg/index/suffixarray/go114_export.go (about)

     1  // export by github.com/goplus/igop/cmd/qexp
     2  
     3  //+build go1.14,!go1.15
     4  
     5  package suffixarray
     6  
     7  import (
     8  	q "index/suffixarray"
     9  
    10  	"reflect"
    11  
    12  	"github.com/goplus/igop"
    13  )
    14  
    15  func init() {
    16  	igop.RegisterPackage(&igop.Package{
    17  		Name: "suffixarray",
    18  		Path: "index/suffixarray",
    19  		Deps: map[string]string{
    20  			"bytes":           "bytes",
    21  			"encoding/binary": "binary",
    22  			"errors":          "errors",
    23  			"io":              "io",
    24  			"math":            "math",
    25  			"regexp":          "regexp",
    26  			"sort":            "sort",
    27  		},
    28  		Interfaces: map[string]reflect.Type{},
    29  		NamedTypes: map[string]reflect.Type{
    30  			"Index": reflect.TypeOf((*q.Index)(nil)).Elem(),
    31  		},
    32  		AliasTypes: map[string]reflect.Type{},
    33  		Vars:       map[string]reflect.Value{},
    34  		Funcs: map[string]reflect.Value{
    35  			"New": reflect.ValueOf(q.New),
    36  		},
    37  		TypedConsts:   map[string]igop.TypedConst{},
    38  		UntypedConsts: map[string]igop.UntypedConst{},
    39  	})
    40  }