New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

github.com/kevchn/go-concurrency-patterns

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/kevchn/go-concurrency-patterns

  • v0.0.0-20181001094525-9493f7e9f5db
  • Source
  • Go
  • Socket score

Version published
Created
Source

Golang Concurrency Patterns

Common and useful golang concurrency patterns I implemented from Rob Pike's famous 2012 Google I/O talk.

Google I/O Talk

Common Patterns

  • Generator: function that runs goroutine and returns channel
  • Multiplexing (fan-in): function that takes multiple channels and pipes to one channel, so that the returned channel receives both outputs
  • Daisychaining: functions whose I/O are daisy-chained with channels together

FAQs

Package last updated on 01 Oct 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc