github.com/goplus/igop@v0.25.0/pkg/compress/lzw/go114_export.go (about)

     1  // export by github.com/goplus/igop/cmd/qexp
     2  
     3  //+build go1.14,!go1.15
     4  
     5  package lzw
     6  
     7  import (
     8  	q "compress/lzw"
     9  
    10  	"go/constant"
    11  	"reflect"
    12  
    13  	"github.com/goplus/igop"
    14  )
    15  
    16  func init() {
    17  	igop.RegisterPackage(&igop.Package{
    18  		Name: "lzw",
    19  		Path: "compress/lzw",
    20  		Deps: map[string]string{
    21  			"bufio":  "bufio",
    22  			"errors": "errors",
    23  			"fmt":    "fmt",
    24  			"io":     "io",
    25  		},
    26  		Interfaces: map[string]reflect.Type{},
    27  		NamedTypes: map[string]reflect.Type{
    28  			"Order": reflect.TypeOf((*q.Order)(nil)).Elem(),
    29  		},
    30  		AliasTypes: map[string]reflect.Type{},
    31  		Vars:       map[string]reflect.Value{},
    32  		Funcs: map[string]reflect.Value{
    33  			"NewReader": reflect.ValueOf(q.NewReader),
    34  			"NewWriter": reflect.ValueOf(q.NewWriter),
    35  		},
    36  		TypedConsts: map[string]igop.TypedConst{
    37  			"LSB": {reflect.TypeOf(q.LSB), constant.MakeInt64(int64(q.LSB))},
    38  			"MSB": {reflect.TypeOf(q.MSB), constant.MakeInt64(int64(q.MSB))},
    39  		},
    40  		UntypedConsts: map[string]igop.UntypedConst{},
    41  	})
    42  }