mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-21 11:13:48 +08:00
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)
|
||
|
}
|