mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-21 08:33:47 +08:00
1ed5f379b9
Move GetFeeds from models to service layer, no code change.
16 lines
416 B
Go
16 lines
416 B
Go
// Copyright 2024 The Gitea Authors. All rights reserved.
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
package feed
|
|
|
|
import (
|
|
"context"
|
|
|
|
activities_model "code.gitea.io/gitea/models/activities"
|
|
)
|
|
|
|
// GetFeeds returns actions according to the provided options
|
|
func GetFeeds(ctx context.Context, opts activities_model.GetFeedsOptions) (activities_model.ActionList, int64, error) {
|
|
return activities_model.GetFeeds(ctx, opts)
|
|
}
|