Skip to main content

goroutines

Goroutines

  • It is a lightweight thread managed by the Go runtime.
  • It can be created using the go keyword followed by method call

Example

go func() {
// perform some operation
}