style: run go fmt on every .go file (#392)

This commit is contained in:
kunish
2023-02-17 16:31:37 +08:00
committed by GitHub
parent 8e4dfbd10d
commit d6ff5f7d96
7 changed files with 19 additions and 15 deletions

View File

@ -109,7 +109,7 @@ func (doh *dnsOverHTTPS) ExchangeContext(ctx context.Context, m *D.Msg) (msg *D.
// formats that include the ID field from the DNS message header, such
// as "application/dns-message", SHOULD use a DNS ID of 0 in every DNS
// request.
m=m.Copy()
m = m.Copy()
id := m.Id
m.Id = 0
defer func() {