1
0
mirror of https://github.com/golang/go synced 2024-11-19 17:54:48 -07:00
go/src
Kevin Burke f3962b1849 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>
2018-04-18 23:58:54 +00:00
..
archive go/printer, gofmt: tuned table alignment for better results 2018-04-04 13:39:34 -07:00
bufio
builtin
bytes
cmd cmd/internal/obj/arm64: refactor the extended/shifted register encoding to the backend 2018-04-18 19:19:57 +00:00
compress compress/flate: optimize huffSym 2018-04-17 22:37:49 +00:00
container container/heap: fix comments style 2018-04-11 20:11:09 +00:00
context context: avoid defer in the cancelCtx.Err method 2018-04-15 21:35:53 +00:00
crypto syscall: introduce Pointer type and use it instead of uintptr 2018-04-18 08:50:42 +00:00
database/sql database/sql: remove a couple redundancies 2018-04-12 19:23:46 +00:00
debug debug/elf: add riscv64 relocations 2018-04-18 13:19:31 +00:00
encoding encoding/json: simplify dominantField 2018-04-17 23:04:19 +00:00
errors
expvar
flag flag: correct zero values when printing defaults 2018-04-01 20:17:22 +00:00
fmt fmt: make %v doc for compound objects consistent 2018-04-17 23:47:44 +00:00
go go/internal/gcimporter: extract ChanDir and fake FileSet logic 2018-04-17 23:47:04 +00:00
hash
html text/template: copy Decl field when copying PipeNode 2018-04-10 14:26:58 +00:00
image
index/suffixarray
internal net: implement (*syscall.RawConn).Read/Write on Windows 2018-04-14 05:36:36 +00:00
io io/ioutil: change TempFile prefix to a pattern 2018-04-12 20:00:25 +00:00
log
math math: add a testcase for Mod and Remainder respectively 2018-04-17 03:17:22 +00:00
mime mime: add wasm architecture 2018-04-13 20:20:12 +00:00
net net/http: remove stderr log spam in test 2018-04-18 18:02:22 +00:00
os os/exec: remove "binary" when talking about executables 2018-04-17 05:05:45 +00:00
path
plugin
reflect reflect: define MyBuffer more locally in TestImplicitMapConversion 2018-04-18 12:47:39 +00:00
regexp regexp: use sync.Pool to cache regexp.machine objects 2018-04-03 16:03:19 +00:00
runtime runtime: fast clock_gettime call on FreeBSD 2018-04-18 21:54:26 +00:00
sort
strconv
strings strings: fix flaky TestBuilderGrow test 2018-04-03 00:11:46 +00:00
sync sync/atomic: use package prefix in examples 2018-04-18 23:58:54 +00:00
syscall syscall: introduce Pointer type and use it instead of uintptr 2018-04-18 08:50:42 +00:00
testing testing: failfast fails fast when Fatal called 2018-04-17 04:02:53 +00:00
text text/tabwriter: reduce allocations from tracking cells 2018-04-14 14:41:50 +00:00
time time: increase test coverage for Time.Sub 2018-04-16 21:14:40 +00:00
unicode
unsafe
vendor/golang_org/x net/http: omit forbidden Trailer headers from response 2018-04-16 17:44:41 +00:00
all.bash Revert "build: fail nicely if somebody runs all.bash from a binary tarball package" 2017-04-28 21:19:32 +00:00
all.bat
all.rc
androidtest.bash
bootstrap.bash
buildall.bash
clean.bash
clean.bat
clean.rc
cmp.bash
iostest.bash
make.bash
make.bat
Make.dist
make.rc
naclmake.bash
nacltest.bash
race.bash
race.bat
run.bash
run.bat
run.rc