godns/resolver/question.go

12 lines
171 B
Go
Raw Normal View History

2020-01-25 17:43:02 +00:00
package resolver
type Question struct {
Name string
Type string
Class string
}
func (q *Question) String() string {
return q.Name + " " + q.Class + " " + q.Type
}