github.com/lrstanley/go-bogon (go): Package bogon provides a simply interface to check if an IP address is a "bogon" IP (an internal IP that should not be hitting external services), or a custom specified range of CIDR's.  Note that you can use bogon.New() to check your own ranges.
Keywords: bogon|cidr|go|ip|library