package main import ( "fmt" "time" ) func main() { // TODO: launch a goroutine that prints "from goroutine" time.Sleep(100 * time.Millisecond) }
Output
Click Run to execute, or Check to validate.
Ask questions or share tips about this tutorial
Sign in to join the discussion