repository와 subscribe까지 잘 됨
This commit is contained in:
11
internal/pkg/repository/repository.go
Normal file
11
internal/pkg/repository/repository.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package repository
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/neatflowcv/seven-skies/internal/pkg/domain"
|
||||
)
|
||||
|
||||
type Repository interface {
|
||||
CreateWeather(ctx context.Context, weather *domain.Weather) error
|
||||
}
|
||||
Reference in New Issue
Block a user