Put everything in main package for simplicity for now
This commit is contained in:
4
main.go
4
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)
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package rss
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
Reference in New Issue
Block a user