1
0
Эх сурвалжийг харах

go: add named executable example (#1506)

Max Strübing 7 жил өмнө
parent
commit
0639876c42
1 өөрчлөгдсөн 4 нэмэгдсэн , 0 устгасан
  1. 4 0
      pages/common/go.md

+ 4 - 0
pages/common/go.md

@@ -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`