Closed
Conversation
7481022 to
c2e3a98
Compare
0135132 to
0ba08b2
Compare
ParseLocationWithClient関数の循環的複雑度削減のため関数分割: - parseCoordinates: 座標文字列の直接解析 - geocodePlace: ジオコーディングAPI呼び出し - parseGeocodeResponse: ジオコーディングレスポンス解析 HTTPリクエスト処理の重複コード削減: - executeAndReadResponse関数を新規追加 - geocodePlaceとmakeHTTPRequestで共通利用 - jscpdエラーを解消(重複率0.37% → 0%) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
ParseLocation関数とGenerateFileName関数を非公開メソッドエリアから 公開メソッドエリアに移動し、ファイル構成を整理
geocodePlace関数を、それが呼び出すヘルパー関数 (executeAndReadResponse、parseGeocodeResponse)の後に移動し、 関数の依存関係を明確化
d59ebaf to
7612f6e
Compare
0ba08b2 to
c7b7b74
Compare
executeAndReadResponse関数とUploadFile関数にdefer Close処理を追加: - executeAndReadResponse: HTTPレスポンスBodyのClose処理 - UploadFile: multipart.WriterのClose処理 - 名前付き戻り値に変更しcloseErrでエラーシャドーイングを回避 - リソースリークを防止し、Close時のエラーを適切に処理 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
c7b7b74 to
52290ec
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
executeAndReadResponse関数とUploadFile関数にdefer Close処理を追加:
🤖 Generated with Claude Code
#227 を前提としています。