features/added-user-tables #3
@ -10,10 +10,10 @@ import (
|
||||
)
|
||||
|
||||
type rssClient struct {
|
||||
SourceRecord domain.Sources
|
||||
SourceRecord domain.SourceEntity
|
||||
}
|
||||
|
||||
func NewRssClient(sourceRecord domain.Sources) rssClient {
|
||||
func NewRssClient(sourceRecord domain.SourceEntity) rssClient {
|
||||
client := rssClient{
|
||||
SourceRecord: sourceRecord,
|
||||
}
|
||||
|
@ -7,7 +7,7 @@ import (
|
||||
"git.jamestombleson.com/jtom38/newsbot-api/internal/services/input"
|
||||
)
|
||||
|
||||
var rssRecord = domain.Sources{
|
||||
var rssRecord = domain.SourceEntity{
|
||||
ID: 1,
|
||||
Name: "ArsTechnica",
|
||||
Url: "https://feeds.arstechnica.com/arstechnica/index",
|
||||
|
Loading…
Reference in New Issue
Block a user