·golang-concurrency-patterns
</>

golang-concurrency-patterns

実稼働サービスの Go 同時実行パターン: コンテキストのキャンセル、エラーグループ、ワーカー プール、制限された並列処理、ファンイン/ファンアウト、一般的なレース/デッドロックの落とし穴

121インストール·2トレンド·@bobmatnyc

インストール

$npx skills add https://github.com/bobmatnyc/claude-mpm-skills --skill golang-concurrency-patterns

golang-concurrency-patterns のインストール方法

コマンドラインで golang-concurrency-patterns AI スキルを開発環境にすばやくインストール

  1. ターミナルを開く: ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます
  2. インストールコマンドを実行: このコマンドをコピーして実行します: npx skills add https://github.com/bobmatnyc/claude-mpm-skills --skill golang-concurrency-patterns
  3. インストールを確認: インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code、Cursor、OpenClaw で使用できるようになります

ソース: bobmatnyc/claude-mpm-skills。

Go concurrency scales when goroutine lifetimes are explicit, cancellation is propagated with context.Context, and shared state is protected (channels or locks). Apply these patterns to build reliable services and avoid common failure modes: goroutine leaks, deadlocks, and data races.

Treat goroutines as resources with a clear owner and shutdown condition.

Use errgroup.WithContext to run concurrent tasks, cancel siblings on error, and wait for completion.

実稼働サービスの Go 同時実行パターン: コンテキストのキャンセル、エラーグループ、ワーカー プール、制限された並列処理、ファンイン/ファンアウト、一般的なレース/デッドロックの落とし穴 ソース: bobmatnyc/claude-mpm-skills。

引用可能な情報

AI/検索での引用用の安定したフィールドとコマンド。

インストールコマンド
npx skills add https://github.com/bobmatnyc/claude-mpm-skills --skill golang-concurrency-patterns
カテゴリ
</>開発ツール
認証済み
初回登録
2026-02-18
更新日
2026-03-11

Browse more skills from bobmatnyc/claude-mpm-skills

クイックアンサー

golang-concurrency-patterns とは?

実稼働サービスの Go 同時実行パターン: コンテキストのキャンセル、エラーグループ、ワーカー プール、制限された並列処理、ファンイン/ファンアウト、一般的なレース/デッドロックの落とし穴 ソース: bobmatnyc/claude-mpm-skills。

golang-concurrency-patterns のインストール方法は?

ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/bobmatnyc/claude-mpm-skills --skill golang-concurrency-patterns インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code、Cursor、OpenClaw で使用できるようになります

ソースリポジトリはどこですか?

https://github.com/bobmatnyc/claude-mpm-skills