Skip to content

Instantly share code, notes, and snippets.

Created Jul 13, 2019
What would you like to do?
package main
import "fmt"
func printHello() {
fmt.Println("Hello World!")
func main() {
fmt.Println("main execution started")
// create goroutine
go printHello()
fmt.Println("main execution stopped")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment