Difference between revisions of "Go build"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
  
  
go build your_file.go
+
go build your_file.go
# command-line-arguments
+
# command-line-arguments
./your_file.go:7:1: syntax error: [[non-declaration statement outside function body]]
+
./your_file.go:7:1: syntax error: [[non-declaration statement outside function body]]
  
  
 
== See also ==
 
== See also ==
 
* {{go}}
 
* {{go}}

Revision as of 06:26, 29 April 2020

go build


go build your_file.go
# command-line-arguments
./your_file.go:7:1: syntax error: non-declaration statement outside function body


See also

Advertising: