From 87142c0cb5f42d877327c357497a5be6f3c5dbd0 Mon Sep 17 00:00:00 2001 From: Emile Date: Sun, 9 Apr 2023 00:37:54 +0200 Subject: Should work, lol --- src/cmd.go | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 src/cmd.go (limited to 'src/cmd.go') diff --git a/src/cmd.go b/src/cmd.go deleted file mode 100644 index a17da4a..0000000 --- a/src/cmd.go +++ /dev/null @@ -1,20 +0,0 @@ -package main - -import ( - "github.com/radare/r2pipe-go" - "github.com/sirupsen/logrus" -) - -func r2cmd(r2p *r2pipe.Pipe, input string) string { - - logrus.Tracef("> %s", input) - - // send a command - buf1, err := r2p.Cmd(input) - if err != nil { - panic(err) - } - - // return the result of the command as a string - return buf1 -} -- cgit 1.4.1