Add tests for config type port

This commit is contained in:
9seconds
2021-03-12 14:23:06 +03:00
parent 7ca143d352
commit 1218f18af9
4 changed files with 222 additions and 2 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ type TypeURL struct {
value *url.URL
}
func (c *TypeURL) UnmarshalText(data []byte) error {
func (c *TypeURL) UnmarshalText(data []byte) error { // nolint: cyclop
if len(data) == 0 {
return nil
}