ADDED:
* uuidx
FIXED:
* sprigx docs consistency
This commit is contained in:
brent saner
2026-02-11 10:21:29 -05:00
parent 67c7faf449
commit 1eea0c2672
18 changed files with 4446 additions and 1659 deletions

View File

@@ -1,6 +1,8 @@
package sprigx
import (
`net`
`net/netip`
`os`
`os/user`
`path`
@@ -17,6 +19,7 @@ import (
psnet `github.com/shirou/gopsutil/v4/net`
`github.com/shirou/gopsutil/v4/process`
`github.com/shirou/gopsutil/v4/sensors`
`go4.org/netipx`
`r00t2.io/goutils/timex`
`r00t2.io/sysutils`
)
@@ -30,6 +33,40 @@ var (
"Meta"/Template-Helpers
*/
"metaIsNil": metaIsNil,
/*
Networking (net)
*/
"netCidrMask": net.CIDRMask,
"netExtractAddr": netExtractAddr,
"netExtractHost": netExtractHost,
"netExtractIpnet": netExtractIpnet,
"netExtractPort": netExtractPort,
"netIfaces": net.Interfaces,
"netIp4Mask": netIp4Mask,
"netJoinHostPort": net.JoinHostPort,
"netParseIP": net.ParseIP,
/*
Networking (net/netip)
*/
"netipAddrPort": netip.AddrPortFrom,
"netipParseAddr": netip.ParseAddr,
"netipParseAddrPort": netip.ParseAddrPort,
"netipParsePrefix": netip.ParsePrefix,
"netipPrefix": netip.PrefixFrom,
/*
Networking (go4.org/netipx)
*/
"netipxAddrIpNet": netipx.AddrIPNet,
"netipxCmpPfx": netipx.ComparePrefix,
"netipxFromStdAddr": netipxFromStdAddr,
"netipxFromIp": netipxFromIp,
"netipxFromIpNet": netipxFromIpNet,
"netipxParseRange": netipx.ParseIPRange,
"netipxPfxAddr": netipx.ParsePrefixOrAddr,
"netipxPfxIpNet": netipx.PrefixIPNet,
"netipxPfxLast": netipx.PrefixLastIP,
"netipxPfxRange": netipx.RangeOfPrefix,
"netipxRange": netipx.IPRangeFrom,
/*
Numbers/Math
*/