Skip to content

Commit

Permalink
Refactor: minor
Browse files Browse the repository at this point in the history
  • Loading branch information
relastle authored and Hiroki-Konishi committed Jun 24, 2019
1 parent 4392ad0 commit d79f242
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,12 @@ import (
pmy "github.com/relastle/pmy/src"
)

var (
bufferLeft string
bufferRight string
)

func main() {
var bufferLeft string
var bufferRight string
flag.StringVar(&bufferLeft, "bufferLeft", "", "")
flag.StringVar(&bufferRight, "bufferRight", "", "")
flag.Parse()
Expand Down
2 changes: 1 addition & 1 deletion src/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"strings"
)

// ccheckJq checks whether `jq` command is available
// checkJq checks whether `jq` command is available
func checkJq() bool {
_, err := exec.LookPath("jq")
if err != nil {
Expand Down

0 comments on commit d79f242

Please sign in to comment.