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 992b521

Browse files
author
openset
committed
Update: PackageName
1 parent eaf054b commit 992b521

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎internal/leetcode/question_data.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ func (question *questionType) LeetCodeURL() string {
9292
}
9393

9494
func (question *questionType) PackageName() string {
95-
return "problem"+question.QuestionFrontendID
95+
return fmt.Sprintf("problem%d", question.FrontendID())
9696
}
9797

9898
func (question *questionType) SaveCodeSnippet() {

0 commit comments

Comments
(0)

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