* Util: Optionally allow empty input in SplitHostPortDefault Due to a recent change the SQL Server tests failed because passing an empty datasource url in `util.SplitHostPortDefault` was no more allowed. This fix contains the following modifications: - Modifies the util.SplitHostPortDefault not to return an error for empty input. - Modifies the util.SplitHostPort to return an error for empty input. - Introduces an additional test for empty input.
Name |
Last commit
|
Last Update |
---|---|---|
.. | ||
errutil | Loading commit data... | |
encoding.go | Loading commit data... | |
encoding_test.go | Loading commit data... | |
encryption.go | Loading commit data... | |
encryption_test.go | Loading commit data... | |
filepath.go | Loading commit data... | |
ip_address.go | Loading commit data... | |
ip_address_test.go | Loading commit data... | |
json.go | Loading commit data... | |
math.go | Loading commit data... | |
md5.go | Loading commit data... | |
md5_test.go | Loading commit data... | |
shortid_generator.go | Loading commit data... | |
shortid_generator_test.go | Loading commit data... | |
split_email.go | Loading commit data... | |
strings.go | Loading commit data... | |
strings_test.go | Loading commit data... | |
url.go | Loading commit data... | |
url_test.go | Loading commit data... | |
validation.go | Loading commit data... | |
validation_test.go | Loading commit data... |