Releases: AdguardTeam/golibs
Releases Β· AdguardTeam/golibs
v0.10.4
Added
netutil.ValidateSRVDomainName
andnetutil.ValidateServiceNameLabel
functions for validating domains which may contain service labels along with thenetutil.MaxServiceLabelLen
constant.
Fixed
- Validation of port number in
netutil.ParseIPPort
.
v0.10.3
v0.10.2
v0.10.1
v0.10.0
v0.9.3
Added
-
netutil.IPv4bcast
,netutil.IPv4allsys
, andnetutil.IPv4allrouter
functions. -
netutil.Subdomains
function, which returns all subdomains of a domain, starting from the domain itself. -
stringutil.Set.Equal
method, which returns true if two sets are equal. -
stringutil.Set.Range
method, which allows iterating over all elements of the set without allocating them using theValues
method. -
stringutil.AllUnique
function, which returns true if all given strings are unique.