go-*: apply additional suggestions
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
This commit is contained in:

committed by
Starbeamrainbowlabs

parent
8421b10d30
commit
4cac843cae
@@ -5,16 +5,16 @@
|
||||
|
||||
- Compile a file:
|
||||
|
||||
`go build path/to/main.go`
|
||||
`go build {{path/to/main.go}}`
|
||||
|
||||
- Compile into named output:
|
||||
- Compile, specifying the output filename:
|
||||
|
||||
`go build -o {{binary}} path/to/source.go`
|
||||
`go build -o {{path/to/binary}} {{path/to/source.go}}`
|
||||
|
||||
- Compile a package:
|
||||
|
||||
`go build -o {{binary}} path/to/package`
|
||||
`go build -o {{path/to/binary}} {{path/to/package}}`
|
||||
|
||||
- Compile a main package into an executable, with data race detection:
|
||||
|
||||
`go build -race -o {{executable}} path/to/main/package`
|
||||
`go build -race -o {{path/to/executable}} {{path/to/main/package}}`
|
||||
|
Reference in New Issue
Block a user