Small fix for go < 1.1 versions
This commit is contained in:
parent
5d094e6e2d
commit
d171a352d9
|
@ -293,6 +293,7 @@ func (t Type) String() string {
|
||||||
} else {
|
} else {
|
||||||
return "TYPE" + strconv.Itoa(int(t))
|
return "TYPE" + strconv.Itoa(int(t))
|
||||||
}
|
}
|
||||||
|
panic("dns: not reached") // go < 1.1 compat
|
||||||
}
|
}
|
||||||
|
|
||||||
// String returns the string representation for the class c
|
// String returns the string representation for the class c
|
||||||
|
|
Loading…
Reference in New Issue