Fazlul Shahriar avatar Fazlul Shahriar committed cd7bae3

Go 1 fixes

Comments (0)

Files changed (3)


 import (
-	"goplan9.googlecode.com/hg/plan9"
+	"code.google.com/p/goplan9/plan9"
 func main() {
 package plumb
 import (
-	"os"
+	"code.google.com/p/goplan9/plan9/client"
-	"goplan9.googlecode.com/hg/plan9/client"
 var once sync.Once
 var fsys *client.Fsys
-var fsysErr os.Error
+var fsysErr error
 func mountPlumb() {
 	fsys, fsysErr = client.MountService("plumb")
 // Open opens the plumb port named port using access mode omode.
-func Open(port string, omode uint8) (*Port, os.Error) {
+func Open(port string, omode uint8) (*Port, error) {
 	if fsysErr != nil {
 		return nil, fsysErr
 // Send writes the message msg to the plumb port.
-func (port *Port) Send(msg *Msg) os.Error {
+func (port *Port) Send(msg *Msg) error {
 	b := packMsg(msg)
 	fid := (*client.Fid)(port)
 	n, err := fid.Write(b)
 // Close closes the plumb port.
-func (port *Port) Close() os.Error {
+func (port *Port) Close() error {
 	return (*client.Fid)(port).Close()
 package plumb
 import (
+	"code.google.com/p/goplan9/plan9/client"
-	"goplan9.googlecode.com/hg/plan9/client"
 type Port client.Fid
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.