---
title: "Discussion on \"Waiting for Goroutines to complete\" | Hashnode"
description: "Discussion on \"Waiting for Goroutines to complete\". Goroutines are one of the best features of Go language. \nIt is very easy to run a function as a goroutine, you just have to use the keyword go before the function call. \nHere is a very simple function which sleeps for n seconds and prints a line.\n\npa..."
url: "https://hashnode.com/posts/waiting-for-goroutines-to-complete/622df858df08b9b823419046"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Waiting for Goroutines to complete](https://progolang.dev/waiting-for-goroutines-to-complete?utm_source=hashnode&utm_medium=feed)

Goroutines are one of the best features of Go language. It is very easy to run a function as a goroutine, you just have to use the keyword go before the function call. Here is a very simple function which sleeps for n seconds and prints a line. pa...

Dec 15, 2018 · 3 min read · progolang.dev  
Read the article

## Written by

[Srinivasan Rangarajan](https://hashnode.com/@cnu)

@cnu

  
[View profile](https://hashnode.com/@cnu)

Entre+gineer

Software Engineer with an entrepreneurship gene. Love talking about code, products, UI/UX and how to build startups.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
