Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // rootCmd is the Viper root command RootCmd = &cobra.Command{ Use: "users", PersistentPreRun: func(cmd *cobra.Command, args []string) { switch flags.loglevel { case "error": log.SetLevel(logrus.ErrorLevel) case "warn": log.SetLevel(logrus.WarnLevel) case "info": log.SetLevel(logrus.InfoLevel) case "debug": log.SetLevel(logrus.DebugLevel) case "trace": log.SetLevel(logrus.TraceLevel) default: log.SetLevel(logrus.InfoLevel) } setup() }, } )
Functions ¶
func DedupInt64Slice ¶
func DedupStringSlice ¶
Types ¶
type BasicData ¶
type BasicData struct { CreatedAt string `json:"created_at"` Description string `json:"description"` FavouritesCount int `json:"favourites_count"` FollowersCount int `json:"followers_count"` FriendsCount int `json:"friends_count"` Location string `json:"location"` Name string `json:"name"` Protected bool `json:"protected"` ScreenName string `json:"screen_name"` StatusesCount int `json:"statuses_count"` URL string `json:"url"` UserID int64 `json:"user_id"` Verified bool `json:"verified"` }
Click to show internal directories.
Click to hide internal directories.