Skip to content

Instantly share code, notes, and snippets.

@luandevpro
Created August 2, 2020 06:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save luandevpro/54b6555e0797451b9442938b40c8c6e2 to your computer and use it in GitHub Desktop.
Save luandevpro/54b6555e0797451b9442938b40c8c6e2 to your computer and use it in GitHub Desktop.
package main
import (
"fmt"
)
func WellCome1(s string) {
for i := 0; i < 5; i++ {
fmt.Println(s, ":",i)
}
}
func WellCome2(s string) {
for i := 0; i < 5; i++ {
fmt.Println(s, ":",i)
}
}
func main() {
go WellCome1("wellcome1")
go WellCome2("wellcome2")
fmt.Println("hello main ")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment