-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
questionFurther information is requestedFurther information is requested
Description
Why
entity パッケージに Repository が存在している。
Lines 8 to 14 in 9d11752
| type GitHubRepository interface { | |
| GetContributions(ctx context.Context, userName string, from time.Time, to time.Time) ([]int, error) | |
| } | |
| type SlackRepository interface { | |
| GetWorkingCronChannel(ctx context.Context) (string, error) | |
| } |
What
一般的に、 Repository はアダプターとして扱われるから、 adapter/repository の一つで良いと思う。意図的に entity パッケージに Repository を定義してる理由とかある?
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested