Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
gaissmai committed Aug 4, 2022
1 parent 493080d commit 866c77c
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@
[![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/badges/StandWithUkraine.svg)](https://stand-with-ukraine.pp.ua)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

Package `extnetip` is an extension to `net/netip`.
Package `extnetip` is an extension to `net/netip` with
a few missing but important auxiliary functions for
converting IP-prefixes to IP-ranges and vice versa.

No additional types are defined, only required auxiliary functions for some
existing `net/netip` types are provided.

With these small extensions, third-party IP range libraries based on stdlib
`net/netip` are now possible without frequent conversion to/from bytes, see also https://github.com/gaissmai/iprange
The functions are effectively performed in uint128 space,
no conversions from/to bytes are performed.

With these extensions to net/netip, third-party IP-range
libraries become easily possible.

## API

Expand Down

0 comments on commit 866c77c

Please sign in to comment.