This is Go 1 package renaming CL #4.
This one merely moves the source; the import strings will be
changed after the next weekly release.
This one moves pieces into os, text, and unicode.
exec -> os/exec
scanner -> text/scanner
tabwriter -> text/tabwriter
template -> text/template
template/parse -> text/template/parse
utf16 -> unicode/utf16
utf8 -> unicode/utf8
This should be the last of the source-rearranging CLs.
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
5331066
encoding/pem\
encoding/xml\
errors\
- exec\
exp/ebnf\
exp/ebnflint\
exp/gotype\
old/regexp\
old/template\
os\
+ os/exec\
os/signal\
os/user\
patch\
runtime/cgo\
runtime/debug\
runtime/pprof\
- scanner\
sort\
strconv\
strings\
sync\
sync/atomic\
syscall\
- tabwriter\
- template\
- template/parse\
testing\
testing/iotest\
testing/quick\
testing/script\
+ text/scanner\
+ text/tabwriter\
+ text/template\
+ text/template/parse\
time\
unicode\
- utf16\
- utf8\
+ unicode/utf16\
+ unicode/utf8\
websocket\
../cmd/cgo\
../cmd/godoc\
/^(big)$/
/^(cmath)$/
/^(csv)$/
+/^(exec)$/
/^(exp\/template\/html)$/
/^(gob)$/
/^(http)/
/^(mail)$/
/^(rand)$/
/^(rpc)$/
+/^(scanner)$/
/^(smtp)$/
/^(syslog)$/
+/^(tabwriter)$/
/^(url)$/
+/^(template)$/
+/^(template\/parse)$/
+/^(utf16)$/
+/^(utf8)$/
/^(xml)$/
"
s;^big.install$;math/big.install;
s;^cmath.install$;math/cmplx.install;
s;^csv.install$;encoding/csv.install;
+ s;^exec.install$;os/exec.install;
s;^exp/template/html.install$;html/template.install;
s;^gob.install$;encoding/gob.install;
s;^http.install$;net/http.install;
s;^mail.install$;net/mail.install;
s;^rpc.install$;net/rpc.install;
s;^rpc/jsonrpc.install$;net/rpc/jsonrpc.install;
+ s;^scanner.install$;text/scanner.install;
s;^smtp.install$;net/smtp.install;
s;^syslog.install$;log/syslog.install;
+ s;^tabwriter.install$;text/tabwriter.install;
+ s;^template.install$;text/template.install;
+ s;^template/parse.install$;text/template/parse.install;
s;^rand.install$;math/rand.install;
s;^url.install$;net/url.install;
+ s;^utf16.install$;unicode/utf16.install;
+ s;^utf8.install$;unicode/utf8.install;
s;^xml.install$;encoding/xml.install;' |
# TODO: end of renamings.
sed 's;^C\.install;runtime/cgo.install;' |
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
-include ../../Make.inc
+include ../../../Make.inc
TARG=exec
GOFILES=\
GOFILES+=$(GOFILES_$(GOOS))
-include ../../Make.pkg
+include ../../../Make.pkg
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
-include ../../Make.inc
+include ../../../Make.inc
TARG=scanner
GOFILES=\
scanner.go\
-include ../../Make.pkg
+include ../../../Make.pkg
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
-include ../../Make.inc
+include ../../../Make.inc
TARG=tabwriter
GOFILES=\
tabwriter.go\
-include ../../Make.pkg
+include ../../../Make.pkg
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
-include ../../Make.inc
+include ../../../Make.inc
TARG=template
GOFILES=\
parse.go\
set.go\
-include ../../Make.pkg
+include ../../../Make.pkg
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
-include ../../../Make.inc
+include ../../../../Make.inc
TARG=template/parse
GOFILES=\
parse.go\
set.go\
-include ../../../Make.pkg
+include ../../../../Make.pkg
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
-include ../../Make.inc
+include ../../../Make.inc
TARG=utf16
GOFILES=\
utf16.go\
-include ../../Make.pkg
+include ../../../Make.pkg
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
-include ../../Make.inc
+include ../../../Make.inc
TARG=utf8
GOFILES=\
string.go\
utf8.go\
-include ../../Make.pkg
+include ../../../Make.pkg