aboutsummaryrefslogtreecommitdiff
path: root/src/testing/testing.go
diff options
context:
space:
mode:
authorDamien Neil <dneil@google.com>2024-05-07 11:07:18 -0700
committerGopher Robot <gobot@golang.org>2026-03-11 15:09:09 -0700
commitc43088c7a6b58861078eb96617c7fc12764dbf76 (patch)
treec0eba6de41398db1ff6953a989037e56d261b9cf /src/testing/testing.go
parent3d7681ebab6fca8f859d8fc7d6c02c90ef379c05 (diff)
downloadgo-c43088c7a6b58861078eb96617c7fc12764dbf76.tar.xz
net, net/netip: document the lack of security properties of IsPrivate
IsPrivate reports whether an address is in one of the address blocks reserved for private use. This is not a security property of an address. Add some additional text to hopefully make this clearer. Change-Id: Ib34e67947095fe256b305e429da185707aca039b Reviewed-on: https://go-review.googlesource.com/c/go/+/583935 Auto-Submit: Roland Shoemaker <roland@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Roland Shoemaker <roland@golang.org> Reviewed-by: Sean Liao <sean@liao.dev>
Diffstat (limited to 'src/testing/testing.go')
0 files changed, 0 insertions, 0 deletions