From f392c762e006409c32a25b0c3622554b6424fc61 Mon Sep 17 00:00:00 2001 From: gaissmai Date: Tue, 26 Jul 2022 19:24:23 +0200 Subject: [PATCH] Update README.md --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index bfdb9c8..ed83423 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,8 @@ With these small extensions, third-party IP range libraries based on stdlib ## API ```go +import "github.com/gaissmai/extnetip" + func Range(p netip.Prefix) (first, last netip.Addr) func Prefix(first, last netip.Addr) (prefix netip.Prefix, ok bool) @@ -30,7 +32,3 @@ func AppendPrefixes(dst []netip.Prefix, first, last netip.Addr) []netip.Prefix Hopefully some day these tiny helper functions are added to `netip` by the stdlib maintainers, currently (2022) they refused [the proposal](https://github.com/golang/go/issues/53236). - -## Importpath - -`import "github.com/gaissmai/extnetip"`