diff options
author | Joe Chen <jc@unknwon.io> | 2022-10-30 23:04:24 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-30 23:04:24 +0800 |
commit | 1905b19ee7fcc5622ad3ad4d85cc8fc2e81a0b56 (patch) | |
tree | 11c6c7bd33837733167f5f3adc9c09dacfbdd19f /internal/db/follows.go | |
parent | 131be6e074039e590488892d7a99ebdbe6eb4668 (diff) |
refactor(db): migrate methods off `user.go` (#7219)
Diffstat (limited to 'internal/db/follows.go')
-rw-r--r-- | internal/db/follows.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/db/follows.go b/internal/db/follows.go index 4f3d55f0..83f37e2e 100644 --- a/internal/db/follows.go +++ b/internal/db/follows.go @@ -11,7 +11,7 @@ import ( "gorm.io/gorm" ) -// FollowsStore is the persistent interface for follows. +// FollowsStore is the persistent interface for user follows. // // NOTE: All methods are sorted in alphabetical order. type FollowsStore interface { @@ -31,7 +31,7 @@ type follows struct { *gorm.DB } -// NewFollowsStore returns a persistent interface for follows with given +// NewFollowsStore returns a persistent interface for user follows with given // database connection. func NewFollowsStore(db *gorm.DB) FollowsStore { return &follows{DB: db} |