Skip to content

Commit

Permalink
golint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
darren committed Sep 28, 2019
1 parent 030d5d5 commit 272ef61
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
module github.com/darren/pacroxy

require github.com/darren/gpac v0.0.0-20190205154740-ac48ff1eaf41

go 1.13
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ type peekedConn struct {
r io.Reader
}

// concat combine conn and peeked buffer
// combine combines conn and peeked buffer
func combine(peeked io.Reader, conn net.Conn) *peekedConn {
r := io.MultiReader(peeked, conn)
return &peekedConn{conn, r}
Expand Down Expand Up @@ -220,7 +220,7 @@ func (s *Server) watch() {
}

if err != nil {
log.Println("Refresh pac failed: %v", err)
log.Printf("Refresh pac failed: %v", err)
} else {
log.Println("Refresh pac succeeded")
}
Expand Down

0 comments on commit 272ef61

Please sign in to comment.