Skip to content
This repository has been archived by the owner on May 25, 2023. It is now read-only.

Add IsValid method to IP, fix Valid method naming on the other types. #197

Merged
merged 1 commit into from
Jul 4, 2021

Conversation

bradfitz
Copy link
Contributor

@bradfitz bradfitz commented Jul 4, 2021

This adds IsValid to IP, and corrects the spelling of IPPrefix.Valid,
IPPort.Valid, and IPRange.Valid to be IsValid, keeping deprecated
Valid wrappers for now while code is fixed.

Fixes #194

This adds IsValid to IP, and corrects the spelling of IPPrefix.Valid,
IPPort.Valid, and IPRange.Valid to be IsValid, keeping deprecated
Valid wrappers for now while code is fixed.

Fixes #194

Signed-off-by: Brad Fitzpatrick <brad@danga.com>
@bradfitz bradfitz merged commit d1acf45 into main Jul 4, 2021
@bradfitz bradfitz deleted the bradfitz/valid branch July 4, 2021 17:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add IP.Valid?
2 participants