Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "followers", Short: "Get account followers", Example: "goinsta account followers", Run: func(cmd *cobra.Command, args []string) { inst := utils.New() users := inst.Account.Followers() i := 0 fmt.Println("Followers:\n ID\t\tUsername") for users.Next() { for _, u := range users.Users { i++ fmt.Printf(" %d\t%s\n", u.ID, u.Username) } } fmt.Printf("Total: %d\n", i) }, }
RootCmd is used as a command line interaction with Instagram Followers.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.