chore(deps): implement github.com/qdm12/golibs/command locally (#2418)

This commit is contained in:
Quentin McGaw
2024-08-21 15:21:31 +02:00
committed by GitHub
parent 4d60b71583
commit a2b3d7e30c
26 changed files with 537 additions and 95 deletions

View File

@@ -1,9 +1,9 @@
package firewall
import "github.com/qdm12/golibs/command"
import "os/exec"
type Runner interface {
Run(cmd command.ExecCmd) (output string, err error)
type CmdRunner interface {
Run(cmd *exec.Cmd) (output string, err error)
}
type Logger interface {