Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 2.01 KB

README.md

File metadata and controls

44 lines (33 loc) · 2.01 KB

IPFreely.uk

IP address manipulation library written in Go. This library treats IP addresses as generic unsigned integers capable of arithmetic and bitwise operations.

Packages

Add an import statement to go.mod to utilise.

Package Purpose
import github.com/ipfreely-uk/go/ip Core IP address types
import github.com/ipfreely-uk/go/ip/compare Generic comparison types and functions
import github.com/ipfreely-uk/go/ip/network IP address collection & iteration types
import github.com/ipfreely-uk/go/ip/network/cidr CIDR notation functions
import github.com/ipfreely-uk/go/ip/subnet CIDR subnet functions

Versus Standard Library

Selective comparison with standard library types in netip.

Feature IPFreely.uk netip
Immutable Types Y Y
Categorization Y
Generic Types Y
Arithmetic/Bitwise Ops Y
IPv6 Zones Y
CIDR Blocks Y Y
Arbitrary Ranges/Sets Y
Iteration Y

Links

Continuous Integration

Go Go Reference