Skip to content

ログ出力追加・エラーハンドリング改善・設定の環境変数化 #3

@mohadayo

Description

@mohadayo

問題点

1. テンプレートエラーが無視される

  • handler.goのExecuteTemplate()戻り値未チェック

2. ログ出力がない

  • startup以外のログなし
  • リクエストログなし

3. ハードコード

  • ポート8080固定
  • シェアURL常にhttp://

改善提案

  • エラーハンドリング追加
  • リクエストログミドルウェア追加
  • PORT環境変数対応
  • プロトコル自動検出

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions