summaryrefslogtreecommitdiff
path: root/src/lib/os/dir_amd64_linux.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-04-16 20:52:37 -0700
committerRuss Cox <rsc@golang.org>2009-04-16 20:52:37 -0700
commitc93d66a312c9b1a271cf3a68c84c5e9f98cefd37 (patch)
treefc0d1bfb34a87c27e16c2bc4978b7cf4dd7b134e /src/lib/os/dir_amd64_linux.go
parent1a5a70789067ecf10d6a560c873c8a5552c6e82d (diff)
downloadgolang-c93d66a312c9b1a271cf3a68c84c5e9f98cefd37.tar.gz
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
Diffstat (limited to 'src/lib/os/dir_amd64_linux.go')
-rw-r--r--src/lib/os/dir_amd64_linux.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/os/dir_amd64_linux.go b/src/lib/os/dir_amd64_linux.go
index 7ce5f13ad..7f8be6f50 100644
--- a/src/lib/os/dir_amd64_linux.go
+++ b/src/lib/os/dir_amd64_linux.go
@@ -5,8 +5,8 @@
package os
import (
- "syscall";
"os";
+ "syscall";
"unsafe";
)