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