1
0
mirror of https://github.com/MADTeacher/go_basics.git synced 2025-11-23 21:34:47 +02:00
Files
go_basics/part_7/7.3/4.go

17 lines
194 B
Go

package main
import (
"fmt"
"time"
)
func namedGorutine(number int) int{
fmt.Printf("%d ", number)
return number
}
func main() {
number := go namedGorutine(1)
time.Sleep(time.Second)
}