mostly copied from https://gobyexample.com/
-
How to run from a .go file:
go run hello_world.go
-
Build and run:
go build hello_world.go
./hello_world
mostly copied from https://gobyexample.com/
How to run from a .go file:
go run hello_world.go
Build and run:
go build hello_world.go
./hello_world