github.com/goplus/gossa@v0.3.25/pkg/net/netip/go118_export.go (about) 1 // export by github.com/goplus/gossa/cmd/qexp 2 3 //go:build go1.18 4 // +build go1.18 5 6 package netip 7 8 import ( 9 q "net/netip" 10 11 "reflect" 12 13 "github.com/goplus/gossa" 14 ) 15 16 func init() { 17 gossa.RegisterPackage(&gossa.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]gossa.NamedType{ 31 "Addr": {reflect.TypeOf((*q.Addr)(nil)).Elem(), "AppendTo,As16,As4,AsSlice,BitLen,Compare,Is4,Is4In6,Is6,IsGlobalUnicast,IsInterfaceLocalMulticast,IsLinkLocalMulticast,IsLinkLocalUnicast,IsLoopback,IsMulticast,IsPrivate,IsUnspecified,IsValid,Less,MarshalBinary,MarshalText,Next,Prefix,Prev,String,StringExpanded,Unmap,WithZone,Zone,appendTo4,appendTo6,hasZone,isZero,lessOrEq,marshalBinaryWithTrailingBytes,string4,string6,v4,v6,v6u16,withoutZone", "UnmarshalBinary,UnmarshalText"}, 32 "AddrPort": {reflect.TypeOf((*q.AddrPort)(nil)).Elem(), "Addr,AppendTo,IsValid,MarshalBinary,MarshalText,Port,String,isZero", "UnmarshalBinary,UnmarshalText"}, 33 "Prefix": {reflect.TypeOf((*q.Prefix)(nil)).Elem(), "Addr,AppendTo,Bits,Contains,IsSingleIP,IsValid,MarshalBinary,MarshalText,Masked,Overlaps,String,isZero", "UnmarshalBinary,UnmarshalText"}, 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]gossa.TypedConst{}, 54 UntypedConsts: map[string]gossa.UntypedConst{}, 55 }) 56 }