//CreateFollow add {now, follower id} pair to follower list
CreateFollow add {now, follower id} pair to follower list
// CreateFollow add { now follower id } pair to follower list
func (user *User) CreateFollow(me *User) {
	pipe := cache.RedisClient.TxPipeline()
	defer func() {
		_, err := pipe.Exec()
		if err != nil {
			util.Log().Error("redis pipeline 执行失败", err)
		}
	}()
	now := float64(time.Now().Unix())
	cache.LinkZsets(
		pipe,
		cache.UserFollowersKey(user.ID), now, me.ID,
		cache.UserFollowingsKey(me.ID), now, user.ID,
	)
}
func ( user * User ) CreateFollow ( me * User ) { pipe := cache . RedisClient . TxPipeline ( ) defer func ( ) { _ , err := pipe . Exec ( ) if err != nil { util . Log ( ) . Error ( " } } ( ) now := float64 ( time . Now ( ) . Unix ( ) ) cache . LinkZsets ( pipe , cache . UserFollowersKey ( user . ID ) , now , me . ID , cache . UserFollowingsKey ( me . ID ) , now , user . ID , ) }
CreateFollow add {now, follower id} pair to follower list
CreateFollow add { now follower id } pair to follower list