Remove unused function (#268)
This commit is contained in:
10
main.go
10
main.go
@@ -15,16 +15,6 @@ import (
|
||||
"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() {
|
||||
opts := config.ConfYaml{}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user