Change network to accept DialFunc

This commit is contained in:
9seconds
2021-03-11 06:08:15 +03:00
parent 6b28488fbd
commit d6566e5dfb
18 changed files with 67 additions and 117 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ func (c *TypeIP) UnmarshalText(data []byte) error {
return nil
}
func (c *TypeIP) MarshalText() ([]byte, error) { // nolint: unparam
func (c *TypeIP) MarshalText() ([]byte, error) {
return []byte(c.String()), nil
}