Difference between revisions of "Go Gettng Started"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
cd foo | cd foo | ||
vim a.go | vim a.go | ||
− | go mod init | + | go mod init example1 |
go mod tidy | go mod tidy | ||
go build a.go | go build a.go | ||
./a | ./a | ||
``` | ``` |
Latest revision as of 00:16, 19 December 2023
https://www.wolfe.id.au/2020/03/10/starting-a-go-project/
mkdir foo cd foo vim a.go go mod init example1 go mod tidy go build a.go ./a