Created
April 26, 2020 22:02
-
-
Save goyuninfo/3b130edcc569bbbb97218506cf451f62 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import "fmt" | |
func main() { | |
fmt.Println("hello world") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
[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