Quellcode durchsuchen

go.sys: use golang.org/x/... import paths

LGTM=bradfitz, rsc
R=rsc, bradfitz
CC=golang-codereviews
https://golang.org/cl/171050043
Andrew Gerrand vor 11 Jahren
Ursprung
Commit
dea3d764c2

+ 1 - 1
plan9/syscall_test.go

@@ -9,7 +9,7 @@ package plan9_test
 import (
 	"testing"
 
-	"code.google.com/p/go.sys/plan9"
+	"golang.org/x/sys/plan9"
 )
 
 func testSetGetenv(t *testing.T, key, value string) {

+ 1 - 1
unix/creds_test.go

@@ -13,7 +13,7 @@ import (
 	"syscall"
 	"testing"
 
-	"code.google.com/p/go.sys/unix"
+	"golang.org/x/sys/unix"
 )
 
 // TestSCMCredentials tests the sending and receiving of credentials

+ 1 - 1
unix/mksyscall_solaris.pl

@@ -265,7 +265,7 @@ package $package
 import "unsafe"
 EOF
 
-print "import \"code.google.com/p/go.sys/unix\"\n" if $package ne "unix";
+print "import \"golang.org/x/sys/unix\"\n" if $package ne "unix";
 
 print <<EOF;
 

+ 1 - 1
unix/mmap_unix_test.go

@@ -9,7 +9,7 @@ package unix_test
 import (
 	"testing"
 
-	"code.google.com/p/go.sys/unix"
+	"golang.org/x/sys/unix"
 )
 
 func TestMmap(t *testing.T) {

+ 1 - 1
unix/syscall_bsd_test.go

@@ -9,7 +9,7 @@ package unix_test
 import (
 	"testing"
 
-	"code.google.com/p/go.sys/unix"
+	"golang.org/x/sys/unix"
 )
 
 const MNT_WAIT = 1

+ 1 - 1
unix/syscall_test.go

@@ -9,7 +9,7 @@ package unix_test
 import (
 	"testing"
 
-	"code.google.com/p/go.sys/unix"
+	"golang.org/x/sys/unix"
 )
 
 func testSetGetenv(t *testing.T, key, value string) {

+ 1 - 1
unix/syscall_unix_test.go

@@ -18,7 +18,7 @@ import (
 	"testing"
 	"time"
 
-	"code.google.com/p/go.sys/unix"
+	"golang.org/x/sys/unix"
 )
 
 // Tests that below functions, structures and constants are consistent

+ 1 - 1
windows/syscall_test.go

@@ -9,7 +9,7 @@ package windows_test
 import (
 	"testing"
 
-	"code.google.com/p/go.sys/windows"
+	"golang.org/x/sys/windows"
 )
 
 func testSetGetenv(t *testing.T, key, value string) {

+ 1 - 1
windows/syscall_windows_test.go

@@ -11,7 +11,7 @@ import (
 	"syscall"
 	"testing"
 
-	"code.google.com/p/go.sys/windows"
+	"golang.org/x/sys/windows"
 )
 
 func TestWin32finddata(t *testing.T) {