Skip to content

Commit d79f242

Browse files
relastleHiroki-Konishi
authored andcommitted
Refactor: minor
1 parent 4392ad0 commit d79f242

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

main.go

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,12 @@ import (
77
pmy "github.com/relastle/pmy/src"
88
)
99

10+
var (
11+
bufferLeft string
12+
bufferRight string
13+
)
14+
1015
func main() {
11-
var bufferLeft string
12-
var bufferRight string
1316
flag.StringVar(&bufferLeft, "bufferLeft", "", "")
1417
flag.StringVar(&bufferRight, "bufferRight", "", "")
1518
flag.Parse()

src/core.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"strings"
99
)
1010

11-
// ccheckJq checks whether `jq` command is available
11+
// checkJq checks whether `jq` command is available
1212
func checkJq() bool {
1313
_, err := exec.LookPath("jq")
1414
if err != nil {

0 commit comments

Comments
 (0)