mirror of
https://github.com/golang/go.git
synced 2025-10-27 14:54:15 +00:00
Convert go tree to hierarchical pkg directory:
import ( "vector" -> "container/vector" "ast" -> "go/ast" "sha1" -> "hash/sha1" etc. ) and update Makefiles. Because I did the conversion semi-automatically, I sorted all the import blocks as a post-processing. Some files have therefore changed that didn't strictly need to. Rename local packages to lower case. The upper/lower distinction doesn't work on OS X and complicates the "single-package directories with the same package name as directory name" heuristic used by gobuild and godoc to create the correlation between source and binary locations. Now that we have a plan to avoid globally unique names, the upper/lower is unnecessary. The renamings will cause trouble for a few users, but so will the change in import paths. This way, the two maintenance fixes are rolled into one inconvenience. R=r OCL=27573 CL=27575
This commit is contained in:
parent
0f153ec6b4
commit
1f6463f823
59 changed files with 365 additions and 293 deletions
|
|
@ -5,8 +5,8 @@
|
|||
package os
|
||||
|
||||
import (
|
||||
"syscall";
|
||||
"os";
|
||||
"syscall";
|
||||
"unsafe";
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue