Documentation
¶
Index ¶
- Variables
- func FollowAction(ctx context.Context, follow *Follow) error
- func FollowCount(ctx context.Context, uid int64) (int64, error)
- func FollowList(ctx context.Context, uid int64) ([]int64, error)
- func FollowerCount(ctx context.Context, uid int64) (int64, error)
- func FollowerList(ctx context.Context, uid int64) (*[]int64, error)
- func Init()
- func IsFollow(ctx context.Context, uid int64, tuid int64) (bool, error)
- func UnFollowAction(ctx context.Context, follow *Follow) error
- type Follow
Constants ¶
This section is empty.
Variables ¶
View Source
var DB *gorm.DB
View Source
var SF *utils.Snowflake
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.