Skip to content

Commit

Permalink
Merge pull request #815 from goby-lang/fix_by_golint_main
Browse files Browse the repository at this point in the history
Fix by golint
  • Loading branch information
st0012 committed Dec 13, 2019
2 parents 6dc8961 + 7d7f99d commit fd1ea62
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions goby.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"github.com/pkg/profile"
)

const Version string = vm.Version
const version string = vm.Version

func main() {
profileCPUOptionPtr := flag.Bool("profile-cpu", false, "Profile cpu usage")
Expand All @@ -31,7 +31,7 @@ func main() {
flag.Parse()

if *interactiveOptionPtr {
igb.StartIgb(Version)
igb.StartIgb(version)
os.Exit(0)
}

Expand All @@ -44,7 +44,7 @@ func main() {
}

if *versionOptionPtr {
fmt.Println(Version)
fmt.Println(version)
os.Exit(0)
}

Expand Down

0 comments on commit fd1ea62

Please sign in to comment.