mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-22 16:28:30 +02:00
refactor: move task, error and testing utils to separte repo; apply gofumpt
This commit is contained in:
@@ -10,7 +10,7 @@ type CIDR net.IPNet
|
||||
|
||||
func ParseCIDR(v string) (cidr CIDR, err error) {
|
||||
err = cidr.Parse(v)
|
||||
return
|
||||
return cidr, err
|
||||
}
|
||||
|
||||
func (cidr *CIDR) Parse(v string) error {
|
||||
|
||||
Reference in New Issue
Block a user