From 0bf89f9a2d408f4d5e24e14df5ff71087c22b7fc Mon Sep 17 00:00:00 2001 From: Tai Groot Date: Tue, 2 Aug 2022 21:00:33 -0700 Subject: [PATCH] Added todo for updates to example code --- examples/shellExec/main.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/examples/shellExec/main.go b/examples/shellExec/main.go index 195f44a..bd30c21 100644 --- a/examples/shellExec/main.go +++ b/examples/shellExec/main.go @@ -8,8 +8,14 @@ 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() { - command := "ls" ctx := context.TODO() devs, err := adb.Devices(ctx) if err != nil {