mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-09 19:45:13 +02:00
11 lines
240 B
Go
11 lines
240 B
Go
// Phase 19 (Track M.1) — class-method benign control for Go.
|
|
package entry
|
|
|
|
import "os/exec"
|
|
|
|
type UserService struct{}
|
|
|
|
func (UserService) Run(input string) string {
|
|
out, _ := exec.Command("true", input).Output()
|
|
return string(out)
|
|
}
|