Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Let the mail transport be chosen instead of hardcoded

オープン
#116 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
18/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
静か
技術スタック
go
領域
backend

調査の方向性

Start in buildMailSender in cmd/alphone/mail.go (around line 33), which calls smtp.New unconditionally, then read how wireFieldProviders and wireCredentialProviders in cmd/alphone/run.go collect from plugins. The sdk's MailSenderConsumer is the existing plugin-facing type, and the issue says no reverse seam exists yet. Done would mean transport selection comes from configuration and a provider seam exists, but the issue does not define the seam's shape or name a test, so agree on the design with maintainers first.

索引モデルが issue の本文から書いたものです。

説明

Only one mail transport can ever run, because the composition root names it directly. A second transport is unreachable wherever its code lives.

Current state: buildMailSender in cmd/alphone/mail.go:33 calls smtp.New unconditionally, and the only choice is whether an SMTP host is set. Settings are read once from the environment at boot. The sdk declares MailSenderConsumer, which hands a sender down to plugins, and no seam pointing the other way, although wireFieldProviders and wireCredentialProviders in cmd/alphone/run.go already collect from plugins that way.

Proposal: pick the transport from configuration first, and add the missing provider seam. A selector in the settings screen follows once settings move to a table.

Trigger: before a second transport ships.

主要言語
Go
スター
287
フォーク
64
平均マージ
12時間 44分
マージ済み PR(30日)
66

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

gopherium/AlphOne のほかの issue

gopherium/AlphOne の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。