Put everything in main package for simplicity for now
This commit is contained in:
parent
e08b03eaee
commit
df524732ae
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"
|
Loading…
Reference in New Issue
Block a user