Remove unused function (#268)

This commit is contained in:
kazhuravlev 2017-08-15 07:33:26 +03:00 committed by Bo-Yi Wu
parent ced4b6e97b
commit 5d67fc7d17
1 changed files with 0 additions and 10 deletions

10
main.go
View File

@ -15,16 +15,6 @@ import (
"golang.org/x/sync/errgroup" "golang.org/x/sync/errgroup"
) )
func checkInput(token, message string) {
if len(token) == 0 {
gorush.LogError.Fatal("Missing token flag (-t)")
}
if len(message) == 0 {
gorush.LogError.Fatal("Missing message flag (-m)")
}
}
func main() { func main() {
opts := config.ConfYaml{} opts := config.ConfYaml{}