Difficulty: Beginner
Estimated Time: 10 minutes

Don’t stop now! The next scenario will only take about 10 minutes to complete.

Learning go step by step - 1

Step 1 of 3

Step 1

echo "hello,world"

cat <<EOF >main.go
package main

import "fmt"

func main() {
    fmt.Println("hello,go!!!!")
}
EOF

go run main.go