Skip to content

Commit

Permalink
update GDNSResponse json encoding to match Google DNS (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
fardog committed Dec 1, 2017
1 parent dae4fb1 commit c43c55c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions provider_google.go
Expand Up @@ -74,12 +74,12 @@ func (rs GDNSRRs) DNSRRs() (rrs []DNSRR) {

// GDNSResponse represents a response from the Google DNS-over-HTTPS servers
type GDNSResponse struct {
Status int32 `json:"Status,omitempty"`
TC bool `json:"TC,omitempty"`
RD bool `json:"RD,omitempty"`
RA bool `json:"RA,omitempty"`
AD bool `json:"AD,omitempty"`
CD bool `json:"CD,omitempty"`
Status int32 `json:"Status"`
TC bool `json:"TC"`
RD bool `json:"RD"`
RA bool `json:"RA"`
AD bool `json:"AD"`
CD bool `json:"CD"`
Question GDNSQuestions `json:"Question,omitempty"`
Answer GDNSRRs `json:"Answer,omitempty"`
Authority GDNSRRs `json:"Authority,omitempty"`
Expand Down

0 comments on commit c43c55c

Please sign in to comment.