Permalink
Browse files

gofmt

  • Loading branch information...
1 parent 2f81285 commit 95ff680295fe4e236ed02540474c5ca73a0dd0ff @kr committed May 23, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 update.go
View
@@ -12,9 +12,9 @@ import (
"net/http"
"os"
"os/exec"
+ "path"
"runtime"
"time"
- "path"
)
var magic = [8]byte{'h', 'k', 'D', 'I', 'F', 'F', '0', '1'}
@@ -117,7 +117,7 @@ func (u *Updater) askAndInstall() {
}
if bytes.HasPrefix(bytes.TrimSpace(line), []byte{'y'}) {
- srcf, err := os.Open(u.dir+upnextPath)
+ srcf, err := os.Open(u.dir + upnextPath)
if err != nil {
error(err.Error())
}
@@ -144,7 +144,7 @@ func (u *Updater) askAndInstall() {
error(err.Error())
}
- err = os.Remove(u.dir+upnextPath)
+ err = os.Remove(u.dir + upnextPath)
if err != nil {
error(err.Error())
}

0 comments on commit 95ff680

Please sign in to comment.