mirror of
https://github.com/taigrr/adb.git
synced 2026-04-02 02:58:42 -07:00
Added todo for updates to example code
This commit is contained in:
@@ -8,8 +8,14 @@ import (
|
|||||||
"github.com/taigrr/adb"
|
"github.com/taigrr/adb"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
var command string
|
||||||
|
|
||||||
|
func init() {
|
||||||
|
// TODO allow for any input to be used as the command
|
||||||
|
command = "ls"
|
||||||
|
}
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
command := "ls"
|
|
||||||
ctx := context.TODO()
|
ctx := context.TODO()
|
||||||
devs, err := adb.Devices(ctx)
|
devs, err := adb.Devices(ctx)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user