mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-01 03:55:24 +02:00
go: add named executable example (#1506)
This commit is contained in:
parent
968aa0bff4
commit
0639876c42
1 changed files with 4 additions and 0 deletions
|
@ -10,6 +10,10 @@
|
||||||
|
|
||||||
`go run {{file}}.go`
|
`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:
|
- Compile the package present in the current directory:
|
||||||
|
|
||||||
`go build`
|
`go build`
|
||||||
|
|
Loading…
Add table
Reference in a new issue