Registry / networking / go118-netip

go118-netip

JSON →
library0.0.0-20211111135330-a4a02eeacf9dgogounverified

Package netip defines an IP address type that's a small value type.

go get golang.zx2c4.com/go118/netip
INSTALL
IMPORT
SIG · GO118-NETIP
G
go118-netip
networkinggov0.0.0-20211111135330-a4a02eeacf9d
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

netip
golang.zx2c4.com/go118/netip

Parses and manipulates IP addresses as small value types.

package main import ( "fmt" "golang.zx2c4.com/go118/netip" ) func main() { addr := netip.MustParseAddr("192.0.2.1") fmt.Println(addr) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20211111135330-a4a02eeacf9dlatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
go118-netip — go get go118-netip · libregistry