package repository import ( "city_chips/internal/model" "context" ) type InformationRepository interface { GetInformation(ctx context.Context, id int64) (*model.Information, error) } func NewInformationRepository( repository *Repository, ) InformationRepository { return &informationRepository{ Repository: repository, } } type informationRepository struct { *Repository } func (r *informationRepository) GetInformation(ctx context.Context, id int64) (*model.Information, error) { var information model.Information return &information, nil }