features/added-user-tables #3

Merged
jtom38 merged 7 commits from features/added-user-tables into main 2024-04-26 16:06:36 -07:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 44b7d24e07 - Show all commits

View File

@ -10,10 +10,10 @@ import (
) )
type rssClient struct { type rssClient struct {
SourceRecord domain.Sources SourceRecord domain.SourceEntity
} }
func NewRssClient(sourceRecord domain.Sources) rssClient { func NewRssClient(sourceRecord domain.SourceEntity) rssClient {
client := rssClient{ client := rssClient{
SourceRecord: sourceRecord, SourceRecord: sourceRecord,
} }

View File

@ -7,7 +7,7 @@ import (
"git.jamestombleson.com/jtom38/newsbot-api/internal/services/input" "git.jamestombleson.com/jtom38/newsbot-api/internal/services/input"
) )
var rssRecord = domain.Sources{ var rssRecord = domain.SourceEntity{
ID: 1, ID: 1,
Name: "ArsTechnica", Name: "ArsTechnica",
Url: "https://feeds.arstechnica.com/arstechnica/index", Url: "https://feeds.arstechnica.com/arstechnica/index",