From ed264d54af75f237c93b23e3dd76a59882b89398 Mon Sep 17 00:00:00 2001 From: Mo Kweon Date: Sun, 30 May 2021 06:51:23 -0700 Subject: [PATCH] fix: PaperListResultItem no longer implements Stringer --- models/paper_list_result.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/models/paper_list_result.go b/models/paper_list_result.go index 9b0ec10..01281ce 100644 --- a/models/paper_list_result.go +++ b/models/paper_list_result.go @@ -1,7 +1,5 @@ package models -import "fmt" - // PaperListResult is the result of PaperListResult() function. type PaperListResult struct { Count int64 `json:"count"` @@ -10,8 +8,6 @@ type PaperListResult struct { Results []PaperListResultItem `json:"results"` } -var _ fmt.Stringer = (*PaperListResultItem)(nil) - type PaperListResultItem struct { ID string `json:"id"` ArxivID *string `json:"arxiv_id"` @@ -26,4 +22,4 @@ type PaperListResultItem struct { ConferenceURLAbs *string `json:"conference_url_abs"` ConferenceURLPDF *string `json:"conference_url_pdf"` Proceeding *string `json:"proceeding"` -} +} \ No newline at end of file