Skip to content

Commit 041e281

Browse files
committed
fix: go fmt and remove unused func
1 parent 30fbb43 commit 041e281

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

Diff for: client_example_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ func Example() {
1919
// 50
2020
// Generative Adversarial Networks
2121
// [Ian J. Goodfellow Jean Pouget-Abadie Mehdi Mirza Bing Xu David Warde-Farley Sherjil Ozair Aaron Courville Yoshua Bengio]
22-
}
22+
}

Diff for: models/paper_list_result.go

-5
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,3 @@ type PaperListResultItem struct {
2727
ConferenceURLPDF *string `json:"conference_url_pdf"`
2828
Proceeding *string `json:"proceeding"`
2929
}
30-
31-
func (p PaperListResultItem) String() string {
32-
return fmt.Sprintf("ID: %s ArxivID: %v NipsID: %v, URLAbs: %s, URLPDF: %s Title: %s Authors: %s",
33-
p.ID, p.ArxivID, p.NipsID, p.URLAbs, p.URLPDF, p.Title, p.Authors)
34-
}

0 commit comments

Comments
 (0)