Skip to content

Instantly share code, notes, and snippets.

@goyuninfo
Created April 26, 2020 22:02
Show Gist options
  • Save goyuninfo/3b130edcc569bbbb97218506cf451f62 to your computer and use it in GitHub Desktop.
Save goyuninfo/3b130edcc569bbbb97218506cf451f62 to your computer and use it in GitHub Desktop.
package main
import "fmt"
func main() {
fmt.Println("hello world")
}
@goyuninfo
Copy link
Author

[ec2-user@ip-172-31-5-206 ~]$ go run hello-world.go
hello world
[ec2-user@ip-172-31-5-206 ~]$ go build hello-world.go
[ec2-user@ip-172-31-5-206 ~]$ ls
Dockerfile github hello-world hello-world.go ruz.docker.export.tar ruz-docker.tar ruz.docker.tar webapps
[ec2-user@ip-172-31-5-206 ~]$ ./hello-world
hello world

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment