followers

package
v0.0.0-...-f828163 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 20, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClubFollowing

func GetClubFollowing(db *gorm.DB, userID uuid.UUID) ([]models.Club, error)

func UserFollower

func UserFollower(userParams types.RouteParams)

Types

type UserFollowerController

type UserFollowerController struct {
	// contains filtered or unexported fields
}

func NewUserFollowerController

func NewUserFollowerController(userFollowerService UserFollowerServiceInterface) *UserFollowerController

func (*UserFollowerController) GetFollowing

func (ufc *UserFollowerController) GetFollowing(c *fiber.Ctx) error

type UserFollowerService

type UserFollowerService struct {
	types.ServiceParams
}

func (*UserFollowerService) GetFollowing

func (u *UserFollowerService) GetFollowing(userID string) ([]models.Club, error)

type UserFollowerServiceInterface

type UserFollowerServiceInterface interface {
	GetFollowing(userID string) ([]models.Club, error)
}

func NewUserFollowerService

func NewUserFollowerService(serviceParams types.ServiceParams) UserFollowerServiceInterface

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL