File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -29,13 +29,14 @@ func main() {
2929```
3030
3131Build the program with the [ go tool] ( https://golang.org/cmd/go/ ) to an
32- executable named ` hello ` . Ensure that the executable is on your path.
32+ executable named ` hello ` . Ensure that the executable is in a directory in
33+ the ` PATH ` environment variable.
3334
3435``` go
35- // Use the go build to generate an executable
36- // Enusre this hello executable on your path
37- // you can move hello to your $GOPATH/bin
38- // or set the current dir into env variable `path`
36+ // Use the ` go build` command to generate an executable.
37+ // To ensure this " hello" executable is on your path,
38+ // you can move " hello" to your $GOPATH/bin directory
39+ // or add the current directory to the `PATH` environment variable.
3940go build -o hello
4041```
4142
You can’t perform that action at this time.
0 commit comments