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() {
29
29
```
30
30
31
31
Build 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.
33
34
34
35
``` 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.
39
40
go build -o hello
40
41
```
41
42
You can’t perform that action at this time.
0 commit comments