1
0
mirror of https://github.com/golang/go synced 2024-09-30 05:34:35 -06:00
go/src
Russ Cox 4d6b08de70 cmd/compile: add -importcfg to specify import resolution
Allows reading -importmap options from a file instead of putting
them all on the command line, and adds the ability to specify the
file location of specific packages. In effect, -importcfg is a generalization
of and supersedes -importmap, -importsuffix, and -I.
Of course, those flags will continue to be supported,
for compatibility with other tools.

Having this flag in Go 1.9 will let us try some experiments involving
package management without needing guinea pigs to build a
custom Go toolchain.

This flag also helps with #14271 at some later point.

For #20579.

Change-Id: If005dbc2b01d8fd16cbfd3687dfbe82499f4bc56
Reviewed-on: https://go-review.googlesource.com/44850
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2017-06-06 19:49:56 +00:00
..
archive archive/zip: set utf-8 flag 2017-05-26 17:08:18 +00:00
bufio
builtin builtin: fix signature of the builtin function make 2017-05-13 16:16:48 +00:00
bytes bytes: note that NewBuffer take ownership of its argument 2017-06-02 18:03:36 +00:00
cmd cmd/compile: add -importcfg to specify import resolution 2017-06-06 19:49:56 +00:00
compress compress/gzip: clarify behavior of Writer.Close 2017-06-02 01:03:19 +00:00
container container/heap: avoid up() invoke if down() success at heap.Remove() 2017-05-13 19:10:24 +00:00
context context: define behavior for Err before Done is closed 2017-04-26 15:39:18 +00:00
crypto crypto/rand: only read necessary bytes for Int 2017-05-23 21:02:14 +00:00
database/sql database/sql: ensure Rows is closed when Tx closes 2017-06-05 19:48:49 +00:00
debug debug/dwarf: heuristically handle both UNIX and Windows paths 2017-05-26 14:35:20 +00:00
encoding encoding/json: clarify unmarshaling behaviour on bad fields 2017-06-05 16:32:35 +00:00
errors
expvar expvar: reduce sync.Map overhead for (*Map).Set 2017-05-02 17:13:40 +00:00
flag
fmt
go go/types: don't panic in complex division 2017-06-05 20:24:51 +00:00
hash internal/cpu: new package to detect cpu features 2017-05-10 17:02:21 +00:00
html html/template: allow safe usage of predefined escapers in pipelines 2017-05-05 18:56:31 +00:00
image image/gif: don't panic on large or nil-containing color.Palettes. 2017-05-06 00:37:43 +00:00
index/suffixarray
internal internal/poll: implement RawControl of FD on Windows 2017-05-20 00:45:11 +00:00
io
log log: Prevent getting time if it's unnecessary 2017-05-22 21:59:34 +00:00
math math/big: fix Add, Sub when receiver aliases 2nd operand 2017-05-31 10:28:05 +00:00
mime mime/multipart: parse boundary with spaces properly 2017-05-23 22:56:44 +00:00
net net/http: make Transport retry GetBody requests if nothing written 2017-06-05 19:13:53 +00:00
os os/exec: ignore some pipe write errors on windows 2017-05-23 04:27:01 +00:00
path path: add examples 2017-05-16 15:44:29 +00:00
plugin plugin: resolve plugin import path issue 2017-04-26 00:54:54 +00:00
reflect reflect: remove dead v.typ assignment 2017-05-11 08:07:21 +00:00
regexp regexp: speed up QuoteMeta with a lookup table 2017-04-28 06:43:14 +00:00
runtime runtime: delay exiting while panic is running deferred functions 2017-06-05 22:42:48 +00:00
sort sort: clarify comment about not-a-number values 2017-06-01 21:24:41 +00:00
strconv
strings strings: document Split{,N,After,AfterN} edge cases 2017-06-06 15:48:54 +00:00
sync cmd/internal/obj/mips: add support of LLV, SCV, NOOP instructions 2017-05-16 17:15:11 +00:00
syscall syscall: allow processes steal a controlling terminal on Linux 2017-05-31 03:49:48 +00:00
testing testing: clarify that subtests are run as goroutines 2017-05-30 16:28:16 +00:00
text text/scanner: clarify documentation on Pos and Position 2017-05-14 20:24:34 +00:00
time time: strip monotonic clock reading in t.UTC, t.Local, t.In 2017-06-06 18:23:14 +00:00
unicode
unsafe
vendor/golang_org/x vendor: update vendored lif 2017-05-29 21:54:12 +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