Skip to content

lxyzhangqing/SubnetIpRange

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

SubnetIpRange

Overview

Subnet IP range calculation.

We may need to known the IP range of a subnet in our program sometimes. The subnet may like 172.16.1.19/20, and the IP shoud range from 172.16.1.19 to 172.16.15.255. To conveniently invoke function, I try to write a package to provide calculation of subnet IP range.

Testing

You can test this package by range_test.go like following:

go test range_test.go

About

Subnet IP range calculation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages