Skip to content

Commit 54e1197

Browse files
committed
remove unused code
1 parent b8077a2 commit 54e1197

2 files changed

Lines changed: 0 additions & 5 deletions

File tree

app/events/delivery/http/list_event_pay.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package http
22

33
import (
4-
"fmt"
54
"net/http"
65
"strconv"
76

@@ -11,7 +10,6 @@ import (
1110
)
1211

1312
func (h Handler) ListEventPay(w http.ResponseWriter, r *http.Request) {
14-
fmt.Println(111)
1513
flterPagination, err := domain.GetPaginationFromCtx(r)
1614
if err != nil {
1715
logrus.Error("failed to get pagination : ", err)

app/events/repository/list_event_pay.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ package repository
22

33
import (
44
"context"
5-
"fmt"
65

76
"github.com/hammer-code/lms-be/domain"
87
"github.com/sirupsen/logrus"
@@ -31,8 +30,6 @@ func (repo *repository) ListEventPay(ctx context.Context, filter domain.EventFil
3130

3231
db.Count(&totalData)
3332

34-
fmt.Println(23)
35-
3633
err = db.Limit(filter.FilterPagination.GetLimit()).
3734
Offset(filter.FilterPagination.GetOffset()).
3835
Preload("RegistrationEvent").Find(&data).Error

0 commit comments

Comments
 (0)