I am using Go 1.10.2 on Mac (darwin/amd64) and facing this error. It\'s saying no such file or directory.
Here\'s my code,
func loop1(gor_name string
The function signature for exec.Command is:
func Command(name string, args ...string) *Cmd
where name is the name of the program and args are the arguments. Try this:
name
args
cmd := exec.Command("./goreplay", "--input-file", gor_name, "--input-file-loop", "--output-http", ras_ip)