From 409af81a8149916d76cf9536778841fbf223e392 Mon Sep 17 00:00:00 2001 From: Nomadic Date: Sat, 21 Sep 2019 11:02:22 +0300 Subject: [PATCH] Format code --- README.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 51c4ddc..c528391 100644 --- a/README.md +++ b/README.md @@ -22,9 +22,9 @@ import ( func main() { for tweet := range twitterscraper.GetTweets("kennethreitz", 25) { - if tweet.Error != nil { - panic(tweet.Error) - } + if tweet.Error != nil { + panic(tweet.Error) + } fmt.Println(tweet.HTML) } } @@ -38,16 +38,16 @@ It appears you can ask for up to 25 pages of tweets reliably (~486 tweets). package main import ( - "fmt" - twitterscraper "github.com/n0madic/twitter-scraper" + "fmt" + twitterscraper "github.com/n0madic/twitter-scraper" ) func main() { - profile, err := twitterscraper.GetProfile("kennethreitz") - if err != nil { - panic(err) - } - fmt.Printf("%+v\n", profile) + profile, err := twitterscraper.GetProfile("kennethreitz") + if err != nil { + panic(err) + } + fmt.Printf("%+v\n", profile) } ```