list daily weathers 구현

This commit is contained in:
2025-12-08 23:26:03 +09:00
parent e3494e5041
commit 66db03dc24
5 changed files with 120 additions and 0 deletions

View File

@@ -2,10 +2,12 @@ package repository
import (
"context"
"time"
"github.com/neatflowcv/seven-skies/internal/pkg/domain"
)
type Repository interface {
CreateWeather(ctx context.Context, weather *domain.Weather) error
ListWeathers(ctx context.Context, from, to time.Time) ([]*domain.Weather, error)
}