Skip to content

Commit cc750a9

Browse files
committed
fix comment
1 parent b57c9cb commit cc750a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

models/user/user.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ func GetUserFollowing(ctx context.Context, u, viewer *User, listOptions db.ListO
353353
return users, count, err
354354
}
355355

356-
// GetUserFollowers returns range of user's followers.
356+
// GetUserFollowersCount returns count of user's followers.
357357
func GetUserFollowersCount(ctx context.Context, u, viewer *User, listOptions db.ListOptions) (int64, error) {
358358
sess := db.GetEngine(ctx).
359359
Select("`user`.*").
@@ -372,7 +372,7 @@ func GetUserFollowersCount(ctx context.Context, u, viewer *User, listOptions db.
372372
return count, err
373373
}
374374

375-
// GetUserFollowing returns range of user's following.
375+
// GetUserFollowingCount returns count of user's following.
376376
func GetUserFollowingCount(ctx context.Context, u, viewer *User, listOptions db.ListOptions) (int64, error) {
377377
sess := db.GetEngine(db.DefaultContext).
378378
Select("`user`.*").

0 commit comments

Comments
 (0)