Skip to content

kadai1 lfcd85 (daigo_hamasaki) #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

kadai1 lfcd85 (daigo_hamasaki) #5

wants to merge 2 commits into from

Conversation

lfcd85
Copy link

@lfcd85 lfcd85 commented Jun 1, 2019

課題1 画像変換コマンドを作ろう を実装しました。
操作方法等は README のほうに記載しています。

詳細

  • 拡張子は MapImgFmtExts.Init で定義済のものだけを受け付けています
  • 拡張子と内容が一致しない(例: .jpg のテキスト)ファイルは変換をスキップさせています
  • ファイル出力を伴うテストについて、サンドボックス未実装のため一旦コメントアウトしています

気になっているところ

  • imgconv package 全体で使う変数を var () 内に定義したのですが、この用法を他にあまり見かけない気がします。よりよい書き方などあるでしょうか。
  • ユーザ定義型の使い方や、それに伴うメソッド・関数の分け方など、適切に書けているか気になっています。
  • テスタビリティやカバレッジ等のテストまわりを改善したく、Go での知見などあればお聞きしたいです。

お手すきでレビューくださるとありがたいです。よろしくお願いします!

@lfcd85 lfcd85 added the kadai1 label Jun 1, 2019
@lfcd85 lfcd85 self-assigned this Jun 1, 2019
@lfcd85 lfcd85 changed the title kadai1-lfcd85 kadai1 lfcd85 (daigo_hamasaki) Jun 1, 2019
@lfcd85 lfcd85 requested review from tenntenn and a team June 5, 2019 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant