mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-09-01 11:34:01 +03:00
Add missed case for ip
This commit is contained in:
@@ -38,6 +38,10 @@ func (c TypeBytes) MarshalText() ([]byte, error) {
|
||||
}
|
||||
|
||||
func (c TypeBytes) String() string {
|
||||
if c.value == 0 {
|
||||
return ""
|
||||
}
|
||||
|
||||
return strings.ToLower(c.value.String())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user