โ๏ธos/exec WorkshopWORKSHOP
1
2
3
4
Step 1
Use `exec.Command` to run `go version` and capture its output with `.Output()`. Print the output as a string. Handle any error with `log.Fatal`.
Ctrl+Enter to run
Step 1
Use `exec.Command` to run `go version` and capture its output with `.Output()`. Print the output as a string. Handle any error with `log.Fatal`.