github.com/goplus/igop@v0.25.0/pkg/net/netip/go121_export.go (about) 1 // export by github.com/goplus/igop/cmd/qexp 2 3 //go:build go1.21 4 // +build go1.21 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 "IPv6LinkLocalAllRouters": reflect.ValueOf(q.IPv6LinkLocalAllRouters), 45 "IPv6Loopback": reflect.ValueOf(q.IPv6Loopback), 46 "IPv6Unspecified": reflect.ValueOf(q.IPv6Unspecified), 47 "MustParseAddr": reflect.ValueOf(q.MustParseAddr), 48 "MustParseAddrPort": reflect.ValueOf(q.MustParseAddrPort), 49 "MustParsePrefix": reflect.ValueOf(q.MustParsePrefix), 50 "ParseAddr": reflect.ValueOf(q.ParseAddr), 51 "ParseAddrPort": reflect.ValueOf(q.ParseAddrPort), 52 "ParsePrefix": reflect.ValueOf(q.ParsePrefix), 53 "PrefixFrom": reflect.ValueOf(q.PrefixFrom), 54 }, 55 TypedConsts: map[string]igop.TypedConst{}, 56 UntypedConsts: map[string]igop.UntypedConst{}, 57 }) 58 }