github.com/goplus/gossa@v0.3.25/pkg/hash/crc32/go114_export.go (about) 1 // export by github.com/goplus/gossa/cmd/qexp 2 3 //+build go1.14,!go1.15 4 5 package crc32 6 7 import ( 8 q "hash/crc32" 9 10 "go/constant" 11 "reflect" 12 13 "github.com/goplus/gossa" 14 ) 15 16 func init() { 17 gossa.RegisterPackage(&gossa.Package{ 18 Name: "crc32", 19 Path: "hash/crc32", 20 Deps: map[string]string{ 21 "errors": "errors", 22 "hash": "hash", 23 "internal/cpu": "cpu", 24 "sync": "sync", 25 "unsafe": "unsafe", 26 }, 27 Interfaces: map[string]reflect.Type{}, 28 NamedTypes: map[string]gossa.NamedType{ 29 "Table": {reflect.TypeOf((*q.Table)(nil)).Elem(), "", ""}, 30 }, 31 AliasTypes: map[string]reflect.Type{}, 32 Vars: map[string]reflect.Value{ 33 "IEEETable": reflect.ValueOf(&q.IEEETable), 34 }, 35 Funcs: map[string]reflect.Value{ 36 "Checksum": reflect.ValueOf(q.Checksum), 37 "ChecksumIEEE": reflect.ValueOf(q.ChecksumIEEE), 38 "MakeTable": reflect.ValueOf(q.MakeTable), 39 "New": reflect.ValueOf(q.New), 40 "NewIEEE": reflect.ValueOf(q.NewIEEE), 41 "Update": reflect.ValueOf(q.Update), 42 }, 43 TypedConsts: map[string]gossa.TypedConst{}, 44 UntypedConsts: map[string]gossa.UntypedConst{ 45 "Castagnoli": {"untyped int", constant.MakeInt64(int64(q.Castagnoli))}, 46 "IEEE": {"untyped int", constant.MakeInt64(int64(q.IEEE))}, 47 "Koopman": {"untyped int", constant.MakeInt64(int64(q.Koopman))}, 48 "Size": {"untyped int", constant.MakeInt64(int64(q.Size))}, 49 }, 50 }) 51 }