Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- func JustSleep(){
- time.Sleep(time.Second*5)
- fmt.Println("Sleep finished")
- }
- func main(){
- go JustSleep()
- fmt.Println("Ending main process")
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement