rm unused
parent
aad5959350
commit
64c4d1908a
|
|
@ -3,7 +3,6 @@ package feeds
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"fmt"
|
"fmt"
|
||||||
"io"
|
|
||||||
"net/url"
|
"net/url"
|
||||||
"show-rss/src/db"
|
"show-rss/src/db"
|
||||||
"show-rss/src/server"
|
"show-rss/src/server"
|
||||||
|
|
@ -224,10 +223,6 @@ func Update(ctx context.Context, id string, url, cron, pattern, webhookMethod, w
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (feed Feed) Delete(ctx context.Context) error {
|
|
||||||
return io.EOF
|
|
||||||
}
|
|
||||||
|
|
||||||
func getEntry(ctx context.Context, id string) (Entry, error) {
|
func getEntry(ctx context.Context, id string) (Entry, error) {
|
||||||
if err := initDB(ctx); err != nil {
|
if err := initDB(ctx); err != nil {
|
||||||
return Entry{}, err
|
return Entry{}, err
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue