diff options
| author | Kevin Burke <kev@inburke.com> | 2018-04-18 15:49:06 -0700 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2018-04-18 23:58:54 +0000 |
| commit | f3962b1849a405995420fef4452f2a8493aa19e0 (patch) | |
| tree | fc5d46cce8315ea65a560476173beb3f31c6a0c0 /src/database/sql | |
| parent | 744ccbb852f18241c637b2c6314b35fce7359916 (diff) | |
| download | go-f3962b1849a405995420fef4452f2a8493aa19e0.tar.xz | |
sync/atomic: use package prefix in examples
Previously these examples declared "var v Value" but any caller would
need to write "var v atomic.Value", so we should use the external
package declaration form to avoid confusion about where Value comes
from.
Change-Id: Ic0b1a05fb6b700da61cfc8efca594c49a9bedb69
Reviewed-on: https://go-review.googlesource.com/107975
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')
0 files changed, 0 insertions, 0 deletions
