Skip to content

ディレクトリ名の変更 #8

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

Merged
merged 5 commits into from
Dec 16, 2023
Merged

ディレクトリ名の変更 #8

merged 5 commits into from
Dec 16, 2023

Conversation

cocoide
Copy link
Owner

@cocoide cocoide commented Oct 5, 2023

変更点

・pkg→internalに変更
・pkg配下には、mockとgrpcディレクトリを配置
・gateway層のinterfaceをdomain serviceに移行
→ 命名もドメインを意識したものに変更
(gatewayは元々infra層のようなものだと考えていた)

・grpcのpbにDIする層をservice→handlerに変更

補足

go get github.com/cocoide/commitify-grpc-server/pkg/grpc
でprobufの生成ファイルが使えるようにした

@cocoide cocoide requested a review from mochi-yu October 5, 2023 02:38
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

‘pkg/mock/openai.go‘とpkg/mock/deepl.goの中身、全く同じじゃない?これはこのままで良いの?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

これは消し忘れてるだけやな

@cocoide cocoide merged commit e58fbd1 into main Dec 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants