1
0
mirror of https://github.com/golang/go synced 2024-11-27 04:11:22 -07:00

net: Fix spelling of function name in doc

Change-Id: I24c6d312f7d0ce52e1958e8031fc8249af0dfca9
Reviewed-on: https://go-review.googlesource.com/34669
Reviewed-by: Minux Ma <minux@golang.org>
This commit is contained in:
Kevin Burke 2016-12-22 17:21:31 -08:00 committed by Ian Lance Taylor
parent 8887be4654
commit db07c9ecb6

View File

@ -163,7 +163,7 @@ func parseNetwork(ctx context.Context, net string) (afnet string, proto int, err
return "", 0, UnknownNetworkError(net)
}
// resolverAddrList resolves addr using hint and returns a list of
// resolveAddrList resolves addr using hint and returns a list of
// addresses. The result contains at least one address when error is
// nil.
func (r *Resolver) resolveAddrList(ctx context.Context, op, network, addr string, hint Addr) (addrList, error) {