Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ae9f516

Browse files
committed
gofmt
1 parent 044123a commit ae9f516

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

‎app/card.go‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ import (
44
"net/http"
55
"time"
66

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

1213
func (a *APP) getCard(badgeType BadgeType, name string, r *http.Request) ([]byte, error) {

‎app/http.go‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ import (
66
"strconv"
77
"time"
88

9-
"github.com/haozibi/leetcode-badge/internal/statics"
109
"github.com/rs/zerolog/log"
10+
11+
"github.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)

AltStyle によって変換されたページ (->オリジナル) /