diff options
| author | Kevin Burke <kev@inburke.com> | 2016-11-03 15:34:05 -0700 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2016-11-16 23:25:51 +0000 |
| commit | 0df762ed7b2ac9484a4f64450424529ecee8aa7f (patch) | |
| tree | bd721b0a5d86219708582a94cf5d9c54a6c8ccfb /src/database/sql/driver | |
| parent | fe057c1478c4309f715d689127125cabbb4efe08 (diff) | |
| download | go-0df762ed7b2ac9484a4f64450424529ecee8aa7f.tar.xz | |
net: add example for CIDRMask
I had trouble translating the documentation language into a subnet
- e.g. whether /31 was CIDRMask(1, 31) or CIDRMask(1, 32) or
CIDRMask(31, 32) so I thought I'd add a short example showing how to
create the right masks.
Change-Id: Ia6a6de08c5c30b6d2249b3194cced2d3c383e317
Reviewed-on: https://go-review.googlesource.com/32677
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/database/sql/driver')
0 files changed, 0 insertions, 0 deletions
