File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ import (
44
"net/http"
55
"time"
66

7+
".com/pkg/errors"
8+
79
".com/haozibi/leetcode-badge/internal/card"
810
".com/haozibi/leetcode-badge/internal/leetcodecn"
9-
".com/pkg/errors"
1011
)
1112

1213
func (a *APP) getCard(badgeType BadgeType, name string, r *http.Request) ([]byte, error) {
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ import (
66
"strconv"
77
"time"
88

9-
".com/haozibi/leetcode-badge/internal/statics"
109
".com/rs/zerolog/log"
10+
11+
".com/haozibi/leetcode-badge/internal/statics"
1112
)
1213

1314
func (a *APP) Badge(bt BadgeType, name string, isCN bool, w http.ResponseWriter, r *http.Request) {

0 commit comments

Comments
 (0)