package
1.16.0
Repository: https://github.com/obalunenko/instadiff-cli.git
Documentation: pkg.go.dev

# Functions

MakeDiffHistory constructs DiffHistory.
MakeInvalidBatchTypeError returns ErrInvalidUsersBatchType with added bathtype info.
MakeUser creates User with passed values.
MakeUsersBatch constructs UsersBatch.

# Constants

DiffTypeFollowers represents followers history.
DiffTypeFollowings represents followings history.
DiffTypeUnknown is unknown type, to cover default value case.
UsersBatchTypeFollowers represents user's followers.
UsersBatchTypeFollowings represents user's followings.
UsersBatchTypeLostFollowers represents lost followers.
UsersBatchTypeLostFollowings represents lost followings.
UsersBatchTypeNewFollowers represents new followers.
UsersBatchTypeNewFollowings represents new followings.
UsersBatchTypeNotMutual represents users that not following back.
UsersBatchTypeUnknown is unknown type, to cover default value case.
UsersBatchTypeUselessFollowers represents business accounts, bots and mass followers.

# Variables

ErrInvalidUsersBatchType means that batch type not supported.

# Structs

DiffHistory represents history of account changes.
Limits represents action limits.
User stores information about user.
UsersBatch represents info about specific type of users (followers, followings).

# Type aliases

DiffType marks what is the type of diff hostory is.
UsersBatchType marks what is the type of users stored in the batch.