mirror of https://github.com/CrimsonTome/tldr.git
go: add named executable example (#1506)
parent
968aa0bff4
commit
0639876c42
|
@ -10,6 +10,10 @@
|
|||
|
||||
`go run {{file}}.go`
|
||||
|
||||
- Compile a source file into a named executable:
|
||||
|
||||
`go build -o {{executable}} {{file}}.go`
|
||||
|
||||
- Compile the package present in the current directory:
|
||||
|
||||
`go build`
|
||||
|
|
Loading…
Reference in New Issue