]> Cypherpunks.ru repositories - gostls13.git/commit
all: single space after period.
authorBrad Fitzpatrick <bradfitz@golang.org>
Tue, 1 Mar 2016 23:21:55 +0000 (23:21 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 2 Mar 2016 00:13:47 +0000 (00:13 +0000)
commit5fea2ccc77eb50a9704fa04b7c61755fe34e1d95
tree00137f90183ae2a01ca42249e04e9e4dabdf6249
parent8b4deb448e587802f67930b765c9598fc8cd36e5
all: single space after period.

The tree's pretty inconsistent about single space vs double space
after a period in documentation. Make it consistently a single space,
per earlier decisions. This means contributors won't be confused by
misleading precedence.

This CL doesn't use go/doc to parse. It only addresses // comments.
It was generated with:

$ perl -i -npe 's,^(\s*// .+[a-z]\.)  +([A-Z]),$1 $2,' $(git grep -l -E '^\s*//(.+\.)  +([A-Z])')
$ go test go/doc -update

Change-Id: Iccdb99c37c797ef1f804a94b22ba5ee4b500c4f7
Reviewed-on: https://go-review.googlesource.com/20022
Reviewed-by: Rob Pike <r@golang.org>
Reviewed-by: Dave Day <djd@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
536 files changed:
src/archive/tar/writer.go
src/bufio/bufio.go
src/bytes/buffer.go
src/bytes/bytes.go
src/bytes/bytes_test.go
src/bytes/compare_test.go
src/bytes/equal_test.go
src/cmd/cgo/ast.go
src/cmd/cgo/gcc.go
src/cmd/cgo/main.go
src/cmd/cgo/out.go
src/cmd/cgo/util.go
src/cmd/compile/internal/amd64/peep.go
src/cmd/compile/internal/arm/cgen64.go
src/cmd/compile/internal/arm64/cgen.go
src/cmd/compile/internal/big/arith_test.go
src/cmd/compile/internal/big/nat.go
src/cmd/compile/internal/big/rat.go
src/cmd/compile/internal/big/ratconv_test.go
src/cmd/compile/internal/gc/alg.go
src/cmd/compile/internal/gc/align.go
src/cmd/compile/internal/gc/bimport.go
src/cmd/compile/internal/gc/builtin/runtime.go
src/cmd/compile/internal/gc/builtin/unsafe.go
src/cmd/compile/internal/gc/cgen.go
src/cmd/compile/internal/gc/dcl.go
src/cmd/compile/internal/gc/esc.go
src/cmd/compile/internal/gc/fmt.go
src/cmd/compile/internal/gc/global_test.go
src/cmd/compile/internal/gc/inl.go
src/cmd/compile/internal/gc/order.go
src/cmd/compile/internal/gc/parser.go
src/cmd/compile/internal/gc/plive.go
src/cmd/compile/internal/gc/reflect.go
src/cmd/compile/internal/gc/ssa.go
src/cmd/compile/internal/gc/subr.go
src/cmd/compile/internal/gc/testdata/addressed_ssa.go
src/cmd/compile/internal/gc/testdata/gen/arithBoundaryGen.go
src/cmd/compile/internal/gc/testdata/gen/arithConstGen.go
src/cmd/compile/internal/gc/testdata/loadstore_ssa.go
src/cmd/compile/internal/gc/testdata/phi_ssa.go
src/cmd/compile/internal/gc/testdata/unsafe_ssa.go
src/cmd/compile/internal/gc/type.go
src/cmd/compile/internal/gc/typecheck.go
src/cmd/compile/internal/gc/walk.go
src/cmd/compile/internal/mips64/cgen.go
src/cmd/compile/internal/mips64/peep.go
src/cmd/compile/internal/ppc64/cgen.go
src/cmd/compile/internal/ppc64/gsubr.go
src/cmd/compile/internal/ppc64/opt.go
src/cmd/compile/internal/ppc64/peep.go
src/cmd/compile/internal/ppc64/prog.go
src/cmd/compile/internal/ssa/block.go
src/cmd/compile/internal/ssa/check.go
src/cmd/compile/internal/ssa/compile.go
src/cmd/compile/internal/ssa/config.go
src/cmd/compile/internal/ssa/cse.go
src/cmd/compile/internal/ssa/deadcode.go
src/cmd/compile/internal/ssa/deadstore.go
src/cmd/compile/internal/ssa/deadstore_test.go
src/cmd/compile/internal/ssa/dom.go
src/cmd/compile/internal/ssa/flagalloc.go
src/cmd/compile/internal/ssa/func.go
src/cmd/compile/internal/ssa/gen/AMD64.rules
src/cmd/compile/internal/ssa/gen/AMD64Ops.go
src/cmd/compile/internal/ssa/gen/generic.rules
src/cmd/compile/internal/ssa/gen/genericOps.go
src/cmd/compile/internal/ssa/gen/main.go
src/cmd/compile/internal/ssa/gen/rulegen.go
src/cmd/compile/internal/ssa/likelyadjust.go
src/cmd/compile/internal/ssa/magic.go
src/cmd/compile/internal/ssa/nilcheck.go
src/cmd/compile/internal/ssa/op.go
src/cmd/compile/internal/ssa/phielim.go
src/cmd/compile/internal/ssa/regalloc.go
src/cmd/compile/internal/ssa/rewrite.go
src/cmd/compile/internal/ssa/schedule.go
src/cmd/compile/internal/ssa/sparsetree.go
src/cmd/compile/internal/ssa/stackalloc.go
src/cmd/compile/internal/ssa/value.go
src/cmd/compile/internal/x86/cgen64.go
src/cmd/compile/internal/x86/gsubr.go
src/cmd/compile/internal/x86/peep.go
src/cmd/cover/cover.go
src/cmd/dist/build.go
src/cmd/dist/buildruntime.go
src/cmd/dist/test.go
src/cmd/fix/main.go
src/cmd/fix/typecheck.go
src/cmd/go/build.go
src/cmd/go/get.go
src/cmd/go/go_test.go
src/cmd/go/main.go
src/cmd/go/note.go
src/cmd/go/pkg.go
src/cmd/go/run.go
src/cmd/go/test.go
src/cmd/go/vcs.go
src/cmd/gofmt/internal.go
src/cmd/gofmt/rewrite.go
src/cmd/internal/obj/arm/asm5.go
src/cmd/internal/obj/arm64/a.out.go
src/cmd/internal/obj/arm64/asm7.go
src/cmd/internal/obj/arm64/list7.go
src/cmd/internal/obj/arm64/obj7.go
src/cmd/internal/obj/link.go
src/cmd/internal/obj/objfile.go
src/cmd/internal/obj/ppc64/obj9.go
src/cmd/internal/obj/textflag.go
src/cmd/internal/obj/util.go
src/cmd/internal/obj/x86/asm6.go
src/cmd/internal/obj/x86/obj6.go
src/cmd/link/internal/amd64/asm.go
src/cmd/link/internal/ld/ar.go
src/cmd/link/internal/ld/data.go
src/cmd/link/internal/ld/dwarf.go
src/cmd/link/internal/ld/ldmacho.go
src/cmd/link/internal/ld/ldpe.go
src/cmd/link/internal/ld/lib.go
src/cmd/link/internal/ld/macho.go
src/cmd/link/internal/ld/pcln.go
src/cmd/link/internal/ld/symtab.go
src/cmd/link/internal/ppc64/asm.go
src/cmd/link/internal/x86/asm.go
src/cmd/pprof/internal/profile/encode.go
src/cmd/pprof/internal/profile/legacy_profile.go
src/cmd/pprof/internal/profile/profile.go
src/cmd/pprof/internal/profile/prune.go
src/cmd/pprof/internal/report/report.go
src/cmd/pprof/internal/symbolz/symbolz.go
src/cmd/vet/cgo.go
src/cmd/vet/main.go
src/cmd/vet/method.go
src/cmd/vet/print.go
src/cmd/yacc/testdata/expr/expr.y
src/compress/flate/deflate.go
src/compress/flate/deflate_test.go
src/compress/flate/huffman_bit_writer.go
src/compress/flate/huffman_code.go
src/compress/flate/inflate.go
src/compress/gzip/gunzip.go
src/container/heap/heap.go
src/crypto/aes/block.go
src/crypto/cipher/cipher.go
src/crypto/md5/md5.go
src/crypto/rand/rand_unix.go
src/crypto/rand/util.go
src/crypto/rc4/rc4.go
src/crypto/rsa/pss.go
src/crypto/sha1/sha1.go
src/crypto/sha1/sha1_test.go
src/crypto/sha256/sha256.go
src/crypto/sha256/sha256_test.go
src/crypto/sha512/sha512.go
src/crypto/sha512/sha512_test.go
src/crypto/tls/conn.go
src/crypto/tls/handshake_server.go
src/crypto/tls/handshake_server_test.go
src/crypto/tls/key_agreement.go
src/crypto/tls/tls_test.go
src/crypto/x509/pem_decrypt.go
src/crypto/x509/root_windows.go
src/crypto/x509/verify.go
src/database/sql/convert.go
src/database/sql/driver/driver.go
src/database/sql/driver/types.go
src/database/sql/fakedb_test.go
src/database/sql/sql.go
src/database/sql/sql_test.go
src/debug/dwarf/buf.go
src/debug/dwarf/entry.go
src/debug/dwarf/open.go
src/debug/dwarf/type.go
src/debug/dwarf/type_test.go
src/debug/dwarf/typeunit.go
src/debug/elf/elf.go
src/debug/gosym/pclntab.go
src/debug/gosym/symtab.go
src/encoding/ascii85/ascii85.go
src/encoding/asn1/marshal.go
src/encoding/base32/base32.go
src/encoding/base64/base64.go
src/encoding/binary/binary_test.go
src/encoding/csv/reader.go
src/encoding/csv/writer.go
src/encoding/gob/debug.go
src/encoding/gob/decode.go
src/encoding/gob/decoder.go
src/encoding/gob/encode.go
src/encoding/gob/encoder.go
src/encoding/gob/encoder_test.go
src/encoding/gob/error.go
src/encoding/gob/example_interface_test.go
src/encoding/gob/example_test.go
src/encoding/gob/gobencdec_test.go
src/encoding/gob/type.go
src/encoding/hex/hex.go
src/encoding/json/decode.go
src/encoding/json/encode.go
src/encoding/json/scanner.go
src/encoding/json/stream.go
src/encoding/pem/pem.go
src/encoding/xml/marshal.go
src/encoding/xml/read.go
src/encoding/xml/xml.go
src/expvar/expvar.go
src/flag/flag.go
src/fmt/fmt_test.go
src/fmt/format.go
src/fmt/scan.go
src/fmt/scan_test.go
src/go/ast/import.go
src/go/ast/resolve.go
src/go/build/build.go
src/go/build/deps_test.go
src/go/build/doc.go
src/go/doc/comment.go
src/go/doc/testdata/benchmark.go
src/go/doc/testdata/testing.0.golden
src/go/doc/testdata/testing.1.golden
src/go/doc/testdata/testing.2.golden
src/go/doc/testdata/testing.go
src/go/format/internal.go
src/go/scanner/scanner.go
src/go/types/initorder.go
src/go/types/object.go
src/go/types/package.go
src/go/types/scope.go
src/go/types/type.go
src/html/template/error.go
src/html/template/escape.go
src/image/color/color.go
src/image/gif/reader.go
src/io/io.go
src/io/ioutil/ioutil.go
src/io/ioutil/tempfile.go
src/io/multi.go
src/log/log.go
src/log/syslog/syslog.go
src/math/acosh.go
src/math/asinh.go
src/math/atanh.go
src/math/big/arith_test.go
src/math/big/nat.go
src/math/big/rat.go
src/math/big/ratconv_test.go
src/math/cmplx/sqrt.go
src/math/erf.go
src/math/exp.go
src/math/expm1.go
src/math/gamma.go
src/math/j0.go
src/math/j1.go
src/math/jn.go
src/math/lgamma.go
src/math/log.go
src/math/log1p.go
src/math/modf.go
src/math/remainder.go
src/math/sqrt.go
src/mime/mediatype.go
src/mime/multipart/multipart.go
src/mime/multipart/multipart_test.go
src/net/addrselect.go
src/net/conf.go
src/net/dial_test.go
src/net/dnsclient.go
src/net/dnsconfig_unix.go
src/net/dnsmsg.go
src/net/fd_unix.go
src/net/http/cgi/host.go
src/net/http/client.go
src/net/http/clientserver_test.go
src/net/http/filetransport.go
src/net/http/fs.go
src/net/http/h2_bundle.go
src/net/http/header.go
src/net/http/httptest/server.go
src/net/http/httputil/dump.go
src/net/http/httputil/persist.go
src/net/http/httputil/reverseproxy.go
src/net/http/pprof/pprof.go
src/net/http/request.go
src/net/http/requestwrite_test.go
src/net/http/response.go
src/net/http/serve_test.go
src/net/http/server.go
src/net/http/sniff.go
src/net/http/transfer.go
src/net/http/transport.go
src/net/http/transport_test.go
src/net/interface.go
src/net/interface_bsd.go
src/net/interface_linux.go
src/net/interface_stub.go
src/net/interface_test.go
src/net/interface_windows.go
src/net/ip.go
src/net/iprawsock_plan9.go
src/net/iprawsock_posix.go
src/net/ipsock.go
src/net/ipsock_plan9.go
src/net/ipsock_posix.go
src/net/lookup.go
src/net/net.go
src/net/rpc/client.go
src/net/rpc/jsonrpc/server.go
src/net/rpc/server.go
src/net/smtp/smtp.go
src/net/sockopt_bsd.go
src/net/sockopt_linux.go
src/net/sockopt_solaris.go
src/net/sockopt_windows.go
src/net/tcpsock_plan9.go
src/net/tcpsock_posix.go
src/net/textproto/header.go
src/net/textproto/pipeline.go
src/net/textproto/reader.go
src/net/textproto/textproto.go
src/net/textproto/writer.go
src/net/udpsock_plan9.go
src/net/udpsock_posix.go
src/net/unixsock_plan9.go
src/net/unixsock_posix.go
src/net/url/url.go
src/os/doc.go
src/os/env.go
src/os/exec.go
src/os/exec/exec_test.go
src/os/exec_posix.go
src/os/file.go
src/os/file_plan9.go
src/os/file_unix.go
src/os/file_windows.go
src/os/getwd.go
src/os/os_unix_test.go
src/os/path.go
src/os/path_test.go
src/os/pipe_test.go
src/os/signal/signal.go
src/os/stat_plan9.go
src/os/stat_windows.go
src/os/types.go
src/os/user/lookup_unix.go
src/path/filepath/path.go
src/path/filepath/path_test.go
src/path/path.go
src/reflect/all_test.go
src/reflect/deepequal.go
src/reflect/type.go
src/reflect/value.go
src/regexp/backtrack.go
src/regexp/exec.go
src/regexp/exec_test.go
src/regexp/onepass.go
src/regexp/regexp.go
src/regexp/syntax/compile.go
src/regexp/syntax/parse.go
src/regexp/syntax/prog.go
src/regexp/syntax/regexp.go
src/regexp/syntax/simplify.go
src/regexp/syntax/simplify_test.go
src/runtime/alg.go
src/runtime/asm_386.s
src/runtime/asm_amd64.s
src/runtime/asm_amd64p32.s
src/runtime/asm_arm.s
src/runtime/asm_arm64.s
src/runtime/asm_mips64x.s
src/runtime/asm_ppc64x.h
src/runtime/asm_ppc64x.s
src/runtime/cgo/callbacks.go
src/runtime/cgo/gcc_dragonfly_amd64.c
src/runtime/cgo/gcc_freebsd_arm.c
src/runtime/cgo/gcc_linux_386.c
src/runtime/cgo/gcc_linux_arm.c
src/runtime/cgo/gcc_linux_arm64.c
src/runtime/cgo/gcc_netbsd_386.c
src/runtime/cgo/gcc_netbsd_amd64.c
src/runtime/cgo/gcc_netbsd_arm.c
src/runtime/cgo/iscgo.go
src/runtime/cgo/mmap.go
src/runtime/cgo_mmap.go
src/runtime/cgocall.go
src/runtime/cgocheck.go
src/runtime/chan.go
src/runtime/compiler.go
src/runtime/cpuprof.go
src/runtime/cputicks.go
src/runtime/crash_test.go
src/runtime/debug.go
src/runtime/defs2_linux.go
src/runtime/extern.go
src/runtime/hash_test.go
src/runtime/hashmap.go
src/runtime/hashmap_fast.go
src/runtime/heapdump.go
src/runtime/iface.go
src/runtime/internal/atomic/asm_mips64x.s
src/runtime/internal/atomic/asm_ppc64x.s
src/runtime/internal/atomic/atomic_test.go
src/runtime/lock_futex.go
src/runtime/lock_sema.go
src/runtime/malloc.go
src/runtime/mcache.go
src/runtime/mcentral.go
src/runtime/mem_bsd.go
src/runtime/mem_linux.go
src/runtime/memclr_arm.s
src/runtime/memmove_386.s
src/runtime/memmove_amd64.s
src/runtime/memmove_arm.s
src/runtime/memmove_nacl_amd64p32.s
src/runtime/memmove_plan9_386.s
src/runtime/memmove_plan9_amd64.s
src/runtime/mfinal.go
src/runtime/mfixalloc.go
src/runtime/mgc.go
src/runtime/mgcmark.go
src/runtime/mgcwork.go
src/runtime/mheap.go
src/runtime/mmap.go
src/runtime/mprof.go
src/runtime/msan.go
src/runtime/msize.go
src/runtime/mstats.go
src/runtime/netpoll_kqueue.go
src/runtime/os1_darwin.go
src/runtime/os1_dragonfly.go
src/runtime/os1_freebsd.go
src/runtime/os1_linux.go
src/runtime/os1_nacl.go
src/runtime/os1_netbsd.go
src/runtime/os1_openbsd.go
src/runtime/os1_plan9.go
src/runtime/os3_solaris.go
src/runtime/os_nacl.go
src/runtime/os_windows.go
src/runtime/panic.go
src/runtime/pprof/pprof.go
src/runtime/proc.go
src/runtime/rt0_linux_arm.s
src/runtime/runtime1.go
src/runtime/runtime2.go
src/runtime/runtime_test.go
src/runtime/select.go
src/runtime/signal1_unix.go
src/runtime/signal2_unix.go
src/runtime/signal_386.go
src/runtime/signal_amd64x.go
src/runtime/signal_windows.go
src/runtime/sigqueue.go
src/runtime/sigqueue_plan9.go
src/runtime/sqrt.go
src/runtime/stack.go
src/runtime/stack_test.go
src/runtime/string_test.go
src/runtime/symtab.go
src/runtime/sys_darwin_386.s
src/runtime/sys_dragonfly_amd64.s
src/runtime/sys_linux_386.s
src/runtime/sys_linux_amd64.s
src/runtime/sys_linux_arm.s
src/runtime/sys_netbsd_386.s
src/runtime/sys_netbsd_amd64.s
src/runtime/sys_openbsd_386.s
src/runtime/sys_openbsd_amd64.s
src/runtime/sys_x86.go
src/runtime/textflag.h
src/runtime/time.go
src/runtime/traceback.go
src/runtime/vlop_386.s
src/runtime/vlop_arm.s
src/runtime/vlrt.go
src/sort/search.go
src/sort/search_test.go
src/sort/sort.go
src/strconv/atof_test.go
src/strconv/atoi.go
src/strconv/atoi_test.go
src/strconv/fp_test.go
src/strconv/ftoa.go
src/strconv/quote.go
src/strings/compare_test.go
src/strings/strings.go
src/strings/strings_test.go
src/sync/atomic/asm_arm.s
src/sync/atomic/atomic_test.go
src/sync/cond.go
src/sync/mutex.go
src/sync/once.go
src/sync/rwmutex.go
src/sync/waitgroup.go
src/syscall/exec_bsd.go
src/syscall/exec_linux.go
src/syscall/exec_plan9.go
src/syscall/exec_solaris.go
src/syscall/exec_unix.go
src/syscall/syscall.go
src/syscall/syscall_bsd.go
src/syscall/syscall_darwin.go
src/syscall/syscall_darwin_386.go
src/syscall/syscall_darwin_amd64.go
src/syscall/syscall_darwin_arm.go
src/syscall/syscall_darwin_arm64.go
src/syscall/syscall_dragonfly.go
src/syscall/syscall_freebsd.go
src/syscall/syscall_linux.go
src/syscall/syscall_linux_386.go
src/syscall/syscall_nacl.go
src/syscall/syscall_solaris.go
src/syscall/syscall_unix.go
src/syscall/unzip_nacl.go
src/testing/allocs.go
src/testing/benchmark.go
src/testing/iotest/reader.go
src/testing/quick/quick.go
src/testing/testing.go
src/text/scanner/scanner.go
src/text/template/exec.go
src/text/template/funcs.go
src/text/template/parse/parse.go
src/text/template/parse/parse_test.go
src/time/format.go
src/time/sleep.go
src/time/tick.go
src/time/tick_test.go
src/time/time.go
src/time/time_test.go
src/time/zoneinfo_read.go
src/time/zoneinfo_test.go
src/unicode/graphic.go
src/unicode/letter.go
src/unicode/maketables.go
src/unicode/utf8/utf8.go
src/unsafe/unsafe.go