mirror of
https://github.com/taigrr/adb.git
synced 2026-04-02 02:58:42 -07:00
refactor: remove unused const and var to pass staticcheck
- Remove unused 'killed' const in util.go - Remove unused 'command' var in examples/injection/main.go
This commit is contained in:
@@ -7,13 +7,6 @@ import (
|
||||
"github.com/taigrr/adb"
|
||||
)
|
||||
|
||||
var command string
|
||||
|
||||
func init() {
|
||||
// TODO allow for any input to be used as the command
|
||||
command = "ls"
|
||||
}
|
||||
|
||||
func main() {
|
||||
ctx := context.TODO()
|
||||
devs, err := adb.Devices(ctx)
|
||||
|
||||
Reference in New Issue
Block a user