Skip to content

Commit

Permalink
[chore] : 주석 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
chanubc committed Jan 2, 2024
1 parent 81a13ee commit b6b5212
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package org.sopt.dosopttemplate.data.datasource.remote

import org.sopt.dosopttemplate.data.dto.remote.respose.ResponseReqresDto

// 레포지터리 인터페이스, 데이터 접근을 추상화, 데이터를 요청하는 코드를 부름
interface ReqresDataSource {
suspend fun getReqresList(page: Int): ResponseReqresDto
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import org.sopt.dosopttemplate.data.datasource.remote.ReqresDataSource
import org.sopt.dosopttemplate.data.dto.remote.respose.ResponseReqresDto
import org.sopt.dosopttemplate.data.service.ReqresService

// 실제 데이터 소스를 구현하는 클래스, 네트워크 호출을 통해 데이터를 가져오는 역할
class ReqresDataSourceImpl(
private val reqresService: ReqresService,
) : ReqresDataSource {
Expand Down

0 comments on commit b6b5212

Please sign in to comment.