Difference between revisions of "Go build"
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
- Go, Gorutine:
go [ mod
|list
|fmt
,for
|build
|get
|version
|env | install | test
]go help
, Go template, Echo go web framework, Go packages, Blank identifier
Advertising: