12 lines
171 B
Go
12 lines
171 B
Go
|
package resolver
|
||
|
|
||
|
type Question struct {
|
||
|
Name string
|
||
|
Type string
|
||
|
Class string
|
||
|
}
|
||
|
|
||
|
func (q *Question) String() string {
|
||
|
return q.Name + " " + q.Class + " " + q.Type
|
||
|
}
|