Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettladley committed Feb 10, 2024
1 parent 4f355a8 commit d8ee450
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions backend/src/controllers/club.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ func (cl *ClubController) GetAllClubs(c *fiber.Ctx) error {
return c.Status(fiber.StatusOK).JSON(clubs)
}


func (cl *ClubController) CreateClub(c *fiber.Ctx) error {
var clubBody models.CreateClubRequestBody
if err := c.BodyParser(&clubBody); err != nil {
Expand All @@ -44,7 +43,6 @@ func (cl *ClubController) CreateClub(c *fiber.Ctx) error {
return c.Status(fiber.StatusCreated).JSON(club)
}


func (cl *ClubController) GetClub(c *fiber.Ctx) error {
club, err := cl.clubService.GetClub(c.Params("clubID"))
if err != nil {
Expand All @@ -54,7 +52,6 @@ func (cl *ClubController) GetClub(c *fiber.Ctx) error {
return c.Status(fiber.StatusOK).JSON(club)
}


func (cl *ClubController) UpdateClub(c *fiber.Ctx) error {
var clubBody models.UpdateClubRequestBody

Expand Down
1 change: 0 additions & 1 deletion backend/src/transactions/club.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,3 @@ func GetUserFollowersForClub(db *gorm.DB, club_id uuid.UUID) ([]models.User, *er
}
return users, nil
}

0 comments on commit d8ee450

Please sign in to comment.