github.com/goplus/gossa@v0.3.25/pkg/compress/bzip2/go115_export.go (about)

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