Last active
August 9, 2022 10:14
-
-
Save Reine0017/25961a552ac4c6478f93e73bf6564fbc to your computer and use it in GitHub Desktop.
Unworking Go Routine Example
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 myFunc() { | |
fmt.Println("Reine") | |
} | |
func main() { | |
fmt.Println("Hello") | |
go myFunc() | |
fmt.Println("World") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment