mirror of
https://github.com/miniflux/v2.git
synced 2025-08-31 18:31:01 +00:00
refactor: unexport symbols
This commit is contained in:
parent
a4d51b5586
commit
566670cc06
36 changed files with 369 additions and 376 deletions
|
@ -16,15 +16,11 @@ import (
|
|||
"miniflux.app/v2/internal/urllib"
|
||||
)
|
||||
|
||||
type RDFAdapter struct {
|
||||
rdf *RDF
|
||||
type rdfAdapter struct {
|
||||
rdf *rdf
|
||||
}
|
||||
|
||||
func NewRDFAdapter(rdf *RDF) *RDFAdapter {
|
||||
return &RDFAdapter{rdf}
|
||||
}
|
||||
|
||||
func (r *RDFAdapter) BuildFeed(baseURL string) *model.Feed {
|
||||
func (r *rdfAdapter) buildFeed(baseURL string) *model.Feed {
|
||||
feed := &model.Feed{
|
||||
Title: stripTags(r.rdf.Channel.Title),
|
||||
FeedURL: strings.TrimSpace(baseURL),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue