go/src
Leonardo Comelli fa5dbd06e5 cmd: ignore the directory named go.mod
The existing implementation does not check in all cases whether go.mod is a regular file.

Fixes #30788

Change-Id: I6d140545c3cfada651612efd5bee2fbdcb747ca7
GitHub-Last-Rev: 4a9b251e37
GitHub-Pull-Request: golang/go#30830
Reviewed-on: https://go-review.googlesource.com/c/go/+/167393
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2019-03-28 21:59:51 +00:00
..
archive archive/tar, syscall: add statUnix for aix/ppc64 2019-02-27 23:40:20 +00:00
bufio bufio: fix emptyFinalToken example to handle multiple Reads 2019-03-02 18:28:10 +00:00
builtin builtin: make len's godoc less ambiguous 2019-03-13 20:57:32 +00:00
bytes bytes: make TrimSpace return nil on all-space input 2019-03-27 13:52:52 +00:00
cmd cmd: ignore the directory named go.mod 2019-03-28 21:59:51 +00:00
compress compress/gzip: clarify that Multistream gzip requires a ByteReader 2019-02-26 23:02:40 +00:00
container container/heap: avoid memory leak in example 2019-02-26 23:42:26 +00:00
context context: don't depend on fmt 2019-03-27 02:37:56 +00:00
crypto crypto/x509: look for CAs at /etc/ssl/cert.pem for Alpine Linux 2019-03-26 22:10:49 +00:00
database/sql database/sql: add example for DB.Prepare and Tx.Prepare 2019-03-25 15:51:17 +00:00
debug debug/dwarf: more graceful handling of unsupported types 2019-03-15 17:33:46 +00:00
encoding encoding/json: fix performance regression in the decoder 2019-03-18 07:58:23 +00:00
errors fmt: make type of fmt.Errorf the same as that of errors.New 2019-03-14 09:45:22 +00:00
expvar
flag flag: improve docs for PrintDefaults; clarify how to change output destination 2019-01-21 05:30:12 +00:00
fmt fmt: fix spelling mistake in example 2019-03-25 21:03:10 +00:00
go sort, internal/reflectlite: flesh out reflectlite enough for use by sort 2019-03-27 04:58:23 +00:00
hash
html html/template: prevent test from failing with nil pointer dereference 2019-03-02 01:53:40 +00:00
image image/png: add Fuzz function 2019-03-22 09:07:09 +00:00
index/suffixarray
internal sort, internal/reflectlite: flesh out reflectlite enough for use by sort 2019-03-27 04:58:23 +00:00
io io: align style of test comments in multi_test.go 2019-02-26 23:01:20 +00:00
log log: expose Writer() method of the standard logger 2019-03-25 01:18:56 +00:00
math math/big: temporarily disable buggy shlVU assembly for arm64 2019-03-27 23:40:12 +00:00
mime mime: add javascript module mime type (.mjs) 2019-03-27 17:30:53 +00:00
net net/textproto: properly write terminating sequence if DotWriter is closed with no writes 2019-03-28 20:27:10 +00:00
os os/user: use os.UserHomeDir for user.HomeDir 2019-03-28 15:02:16 +00:00
path path/filepath: add examples for Base, Dir and IsAbs 2019-03-25 02:57:06 +00:00
plugin cmd/compile: reorganize init functions 2019-03-18 20:10:55 +00:00
reflect reflect: initialize ptrdata earlier in StructOf 2019-03-26 03:54:07 +00:00
regexp regexp: add ReplaceAllStringFunc example 2019-02-27 21:48:41 +00:00
runtime runtime/cgo: remove threadentry functions specialized for android 2019-03-28 18:19:39 +00:00
sort sort, internal/reflectlite: flesh out reflectlite enough for use by sort 2019-03-27 04:58:23 +00:00
strconv strconv: simplify (*extFloat).Multiply using math/bits.Mul64 2019-03-04 22:25:21 +00:00
strings bytes, strings: speed up TrimSpace 4-5x for common ASCII cases 2019-03-12 15:52:17 +00:00
sync sync: allow inlining the RWMutex.RUnlock fast path 2019-03-09 16:34:17 +00:00
syscall syscall/js: improve Value.String() for non-string values 2019-03-28 09:36:43 +00:00
testdata
testing testing: correct two spelling/grammar issues 2019-03-25 22:26:21 +00:00
text text/template: allow using -}} with many spaces 2019-03-24 09:06:14 +00:00
time time: optimize Sub 2019-03-19 04:10:33 +00:00
unicode
unsafe
vendor all: move internal/x to vendor/golang.org/x and revendor using 'go mod vendor' 2019-03-11 20:28:54 +00:00
Make.dist
all.bash
all.bat
all.rc
bootstrap.bash
buildall.bash
clean.bash
clean.bat
clean.rc
cmp.bash
go.mod all: move internal/x to vendor/golang.org/x and revendor using 'go mod vendor' 2019-03-11 20:28:54 +00:00
go.sum all: move internal/x to vendor/golang.org/x and revendor using 'go mod vendor' 2019-03-11 20:28:54 +00:00
iostest.bash cmd/dist: build exec wrappers during bootstrap 2019-02-26 17:59:23 +00:00
make.bash cmd,std: add go.mod files 2019-03-11 20:27:41 +00:00
make.bat cmd,std: add go.mod files 2019-03-11 20:27:41 +00:00
make.rc cmd,std: add go.mod files 2019-03-11 20:27:41 +00:00
naclmake.bash
nacltest.bash
race.bash
race.bat
run.bash all: move internal/x to vendor/golang.org/x and revendor using 'go mod vendor' 2019-03-11 20:28:54 +00:00
run.bat
run.rc