diff --git a/main.go b/main.go index ac42457..836b77b 100644 --- a/main.go +++ b/main.go @@ -2,12 +2,10 @@ package main import ( "fmt" - - "git.shillerben.com/shillerben/go-rss/rss" ) func main() { - items, err := rss.FetchRss("https://rss.slashdot.org/Slashdot/slashdotMain") + items, err := FetchRss("https://rss.slashdot.org/Slashdot/slashdotMain") if err != nil { fmt.Println(err) } diff --git a/rss/rss.go b/rss.go similarity index 97% rename from rss/rss.go rename to rss.go index b340311..94b409c 100644 --- a/rss/rss.go +++ b/rss.go @@ -1,4 +1,4 @@ -package rss +package main import ( "fmt"