github.com/goplus/gossa@v0.3.25/pkg/index/suffixarray/go118_export.go (about)

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