mirror of
https://github.com/go-gitea/gitea
synced 2024-12-29 16:54:42 +01:00
1ed5f379b9
Move GetFeeds from models to service layer, no code change.
15 lines
416 B
Go
15 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)
|
|
}
|