From df524732ae514dfceb5ade858674d98de1b253bb Mon Sep 17 00:00:00 2001 From: Ben Shiller Date: Wed, 29 Jan 2025 21:48:35 -0600 Subject: [PATCH] Put everything in main package for simplicity for now --- main.go | 4 +--- rss/rss.go => rss.go | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) rename rss/rss.go => rss.go (97%) 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"