Kadai1 annkara#7
Open
annkara wants to merge 26 commits into
Open
Conversation
annkara
commented
Jul 15, 2019
Member
- ディレクトリを指定する
- 指定したディレクトリ以下のJPGファイルをPNGに変換 (default)
- ディレクトリ以下は再帰的に処理する
- 変換前と変換後の画像形式を指定できる (optional)
- mainパッケージと分離する
- 自作パッケージと標準パッケージと準標準パッケージのみ使う
- ユーザ定義型を作ってみる
- GoDocを生成してみる
- エラーメッセージの出力
- テストコードを充実させる
- README.mdを追加
テストコードにて実ファイルのI/Oが発生しているので、ファイルを利用しないテストコードの実装を検討する。
最初のテストコードを追加
- ディレクトリを絶対パスへ変換 現状、動かないしデバッグしづらいのでデバッグ情報を出力できるように修正する。
2. デバッグログの出力を追加 3. 不要な絶対パスへの変換処理を削除
ディレクトリ名を渡してしまうとテストに失敗してしまうので、オプションの解析のみテスト実施
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.