Difference between revisions of "Package main"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
[[func]] main() { | [[func]] main() { | ||
− | defer fmt.Println("world") | + | [[defer]] [[fmt]].Println("world") |
fmt.Println("hello") | fmt.Println("hello") |
Latest revision as of 15:58, 21 August 2022
package main import "fmt" func main() { defer fmt.Println("world") fmt.Println("hello") }
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: