1
0
mirror of https://github.com/taigrr/wtf synced 2026-03-22 19:22:18 -07:00

Move the utils.go file into the /utils directory

This commit is contained in:
Chris Cummer
2019-08-05 10:50:12 -07:00
parent 0bd2d176d8
commit 4e46fff145
57 changed files with 190 additions and 188 deletions

View File

@@ -6,8 +6,8 @@ import (
"strings"
"github.com/rivo/tview"
"github.com/wtfutil/wtf/utils"
"github.com/wtfutil/wtf/view"
"github.com/wtfutil/wtf/wtf"
)
type Widget struct {
@@ -61,5 +61,5 @@ func (widget *Widget) String() string {
func (widget *Widget) execute() string {
cmd := exec.Command(widget.cmd, widget.args...)
return wtf.ExecuteCommand(cmd)
return utils.ExecuteCommand(cmd)
}