From 80d7a2f422050896fca008d924e90d524efe3d37 Mon Sep 17 00:00:00 2001 From: Timon Ringwald Date: Sun, 21 Aug 2022 14:38:44 +0200 Subject: [PATCH] String() method improved --- parsed_torrent.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/parsed_torrent.go b/parsed_torrent.go index b487c12..973c471 100644 --- a/parsed_torrent.go +++ b/parsed_torrent.go @@ -22,11 +22,12 @@ type ParsedTorrent struct { } func (t ParsedTorrent) String() string { - return fmt.Sprintf("title: %s | episode: %d | resolution: %s | languages: %s | subtitles: %s", + return fmt.Sprintf("title: %s | episode: %d | resolution: %s | languages: %s | subtitles: %s | %s", t.Anime.Title.Native, t.Episode, t.Resolution, strings.Join(t.Languages, ", "), strings.Join(t.Subtitles, ", "), + t.Torrent, ) }