golang/go

net: comment for constant not accurate

Open

#57,672 创建于 2023年1月7日

在 GitHub 查看
 (6 评论) (0 反应) (0 负责人)Go (19,008 fork)batch import
DocumentationNeedsFixhelp wanted

仓库指标

Star
 (133,883 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

What version of Go are you using (go version)?

Does this issue reproduce with the latest release?

Yes (sorry, this is a very insignificant issue, but I could not help it to raise it)

What operating system and processor architecture are you using (go env)?

What did you do?

https://cs.opensource.google/go/go/+/refs/tags/go1.19.4:src/net/dnsconfig.go

What did you expect to see?

attempts      int           // number of tries before giving up on a query

What did you see instead?

attempts      int           // lost packets before giving up on server

贡献者指南