diff --git a/examples/developer-hub-go/flare/fetch_anchor_feeds.go b/examples/developer-hub-go/flare/fetch_anchor_feeds.go index 56ece523..5245f1b2 100644 --- a/examples/developer-hub-go/flare/fetch_anchor_feeds.go +++ b/examples/developer-hub-go/flare/fetch_anchor_feeds.go @@ -56,3 +56,12 @@ func FetchAnchorFeeds() ([]AnchorFeed, error) { var feeds []AnchorFeed return feeds, json.Unmarshal(body, &feeds) } + +func main() { + feeds, err := FetchAnchorFeeds() + if err != nil { + fmt.Printf("Error: %v\n", err) + return + } + fmt.Printf("Anchor feeds: %+v\n", feeds) +} \ No newline at end of file