diff options
Diffstat (limited to 'core/core.go')
| -rw-r--r-- | core/core.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/core/core.go b/core/core.go index 1f92d76..a97b8e3 100644 --- a/core/core.go +++ b/core/core.go @@ -16,7 +16,6 @@ import ( "encoding/json" "fmt" "io/ioutil" - "net/url" "os" "path/filepath" "sync" @@ -55,10 +54,10 @@ func Init(dataPath string) error { } if Data.Feeds == nil { - Data.Feeds = make(map[url.URL]*Feed) + Data.Feeds = make(map[string]*Feed) } if Data.Pages == nil { - Data.Pages = make(map[url.URL]*Page) + Data.Pages = make(map[string]*Page) } return nil } |
