github.com/goplus/igop@v0.25.0/pkg/archive/zip/go116_export.go (about) 1 // export by github.com/goplus/igop/cmd/qexp 2 3 //+build go1.16,!go1.17 4 5 package zip 6 7 import ( 8 q "archive/zip" 9 10 "go/constant" 11 "reflect" 12 13 "github.com/goplus/igop" 14 ) 15 16 func init() { 17 igop.RegisterPackage(&igop.Package{ 18 Name: "zip", 19 Path: "archive/zip", 20 Deps: map[string]string{ 21 "bufio": "bufio", 22 "compress/flate": "flate", 23 "encoding/binary": "binary", 24 "errors": "errors", 25 "hash": "hash", 26 "hash/crc32": "crc32", 27 "io": "io", 28 "io/fs": "fs", 29 "os": "os", 30 "path": "path", 31 "sort": "sort", 32 "strings": "strings", 33 "sync": "sync", 34 "time": "time", 35 "unicode/utf8": "utf8", 36 }, 37 Interfaces: map[string]reflect.Type{}, 38 NamedTypes: map[string]reflect.Type{ 39 "Compressor": reflect.TypeOf((*q.Compressor)(nil)).Elem(), 40 "Decompressor": reflect.TypeOf((*q.Decompressor)(nil)).Elem(), 41 "File": reflect.TypeOf((*q.File)(nil)).Elem(), 42 "FileHeader": reflect.TypeOf((*q.FileHeader)(nil)).Elem(), 43 "ReadCloser": reflect.TypeOf((*q.ReadCloser)(nil)).Elem(), 44 "Reader": reflect.TypeOf((*q.Reader)(nil)).Elem(), 45 "Writer": reflect.TypeOf((*q.Writer)(nil)).Elem(), 46 }, 47 AliasTypes: map[string]reflect.Type{}, 48 Vars: map[string]reflect.Value{ 49 "ErrAlgorithm": reflect.ValueOf(&q.ErrAlgorithm), 50 "ErrChecksum": reflect.ValueOf(&q.ErrChecksum), 51 "ErrFormat": reflect.ValueOf(&q.ErrFormat), 52 }, 53 Funcs: map[string]reflect.Value{ 54 "FileInfoHeader": reflect.ValueOf(q.FileInfoHeader), 55 "NewReader": reflect.ValueOf(q.NewReader), 56 "NewWriter": reflect.ValueOf(q.NewWriter), 57 "OpenReader": reflect.ValueOf(q.OpenReader), 58 "RegisterCompressor": reflect.ValueOf(q.RegisterCompressor), 59 "RegisterDecompressor": reflect.ValueOf(q.RegisterDecompressor), 60 }, 61 TypedConsts: map[string]igop.TypedConst{ 62 "Deflate": {reflect.TypeOf(q.Deflate), constant.MakeInt64(int64(q.Deflate))}, 63 "Store": {reflect.TypeOf(q.Store), constant.MakeInt64(int64(q.Store))}, 64 }, 65 UntypedConsts: map[string]igop.UntypedConst{}, 66 }) 67 }