github.com/goplus/igop@v0.25.0/pkg/net/netip/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 netip 7 8 import ( 9 q "net/netip" 10 11 "reflect" 12 13 "github.com/goplus/igop" 14 ) 15 16 func init() { 17 igop.RegisterPackage(&igop.Package{ 18 Name: "netip", 19 Path: "net/netip", 20 Deps: map[string]string{ 21 "errors": "errors", 22 "internal/bytealg": "bytealg", 23 "internal/intern": "intern", 24 "internal/itoa": "itoa", 25 "math": "math", 26 "math/bits": "bits", 27 "strconv": "strconv", 28 }, 29 Interfaces: map[string]reflect.Type{}, 30 NamedTypes: map[string]reflect.Type{ 31 "Addr": reflect.TypeOf((*q.Addr)(nil)).Elem(), 32 "AddrPort": reflect.TypeOf((*q.AddrPort)(nil)).Elem(), 33 "Prefix": reflect.TypeOf((*q.Prefix)(nil)).Elem(), 34 }, 35 AliasTypes: map[string]reflect.Type{}, 36 Vars: map[string]reflect.Value{}, 37 Funcs: map[string]reflect.Value{ 38 "AddrFrom16": reflect.ValueOf(q.AddrFrom16), 39 "AddrFrom4": reflect.ValueOf(q.AddrFrom4), 40 "AddrFromSlice": reflect.ValueOf(q.AddrFromSlice), 41 "AddrPortFrom": reflect.ValueOf(q.AddrPortFrom), 42 "IPv4Unspecified": reflect.ValueOf(q.IPv4Unspecified), 43 "IPv6LinkLocalAllNodes": reflect.ValueOf(q.IPv6LinkLocalAllNodes), 44 "IPv6Unspecified": reflect.ValueOf(q.IPv6Unspecified), 45 "MustParseAddr": reflect.ValueOf(q.MustParseAddr), 46 "MustParseAddrPort": reflect.ValueOf(q.MustParseAddrPort), 47 "MustParsePrefix": reflect.ValueOf(q.MustParsePrefix), 48 "ParseAddr": reflect.ValueOf(q.ParseAddr), 49 "ParseAddrPort": reflect.ValueOf(q.ParseAddrPort), 50 "ParsePrefix": reflect.ValueOf(q.ParsePrefix), 51 "PrefixFrom": reflect.ValueOf(q.PrefixFrom), 52 }, 53 TypedConsts: map[string]igop.TypedConst{}, 54 UntypedConsts: map[string]igop.UntypedConst{}, 55 }) 56 }