Small fix for go < 1.1 versions

This commit is contained in:
Miek Gieben 2013-06-15 18:27:52 +01:00
parent 5d094e6e2d
commit d171a352d9
1 changed files with 1 additions and 0 deletions

View File

@ -293,6 +293,7 @@ func (t Type) String() string {
} else {
return "TYPE" + strconv.Itoa(int(t))
}
panic("dns: not reached") // go < 1.1 compat
}
// String returns the string representation for the class c