fix golint.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2016-06-25 21:40:38 +08:00
parent ea79208bab
commit 82cb2f5246
2 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,7 @@ func checkInput(token, message string) {
} }
} }
// Version control for gorush.
var Version = "No Version Provided" var Version = "No Version Provided"
var usageStr = ` var usageStr = `

View File

@ -8,10 +8,12 @@ import (
var version string var version string
// SetVersion for setup version string.
func SetVersion(ver string) { func SetVersion(ver string) {
version = ver version = ver
} }
// GetVersion for get current version.
func GetVersion() string { func GetVersion() string {
return version return version
} }