โ๏ธ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`.
โ Enter (Mac) ยท Ctrl+Enter (Win/Linux)
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`.