Skip to content

Conversation

@tystuyfzand
Copy link

This'll allow the network bits to be returned as the first parameter of the renamed LookupNetmask, while retaining backwards compatibility with Lookup

I've tried to make this a non-breaking change, but with my limited knowledge of Go I could've missed something.

Returns the resolved network size (bits) as the second parameter of Lookup
Renames Lookup to LookupNetmask, allowing a backward compatible method to take the place. Also change the parameter order, making sure error is the last return value for consistency
@tystuyfzand tystuyfzand closed this Mar 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant