From c93d66a312c9b1a271cf3a68c84c5e9f98cefd37 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Thu, 16 Apr 2009 20:52:37 -0700 Subject: 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 --- src/lib/json/generic.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/json/generic.go') diff --git a/src/lib/json/generic.go b/src/lib/json/generic.go index 7ce315765..8801f7631 100644 --- a/src/lib/json/generic.go +++ b/src/lib/json/generic.go @@ -7,12 +7,12 @@ package json import ( + "container/vector"; "fmt"; - "math"; "json"; + "math"; "strconv"; "strings"; - "vector"; ) // Integers identifying the data type in the Json interface. -- cgit v1.2.3