Skip to content

Commit

Permalink
fix golint.
Browse files Browse the repository at this point in the history
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
  • Loading branch information
appleboy committed Jun 25, 2016
1 parent ea79208 commit 82cb2f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions gorush.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ func checkInput(token, message string) {
}
}

// Version control for gorush.
var Version = "No Version Provided"

var usageStr = `
Expand Down
2 changes: 2 additions & 0 deletions gorush/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ import (

var version string

// SetVersion for setup version string.
func SetVersion(ver string) {
version = ver
}

// GetVersion for get current version.
func GetVersion() string {
return version
}
Expand Down

0 comments on commit 82cb2f5

Please sign in to comment.