diff --git a/torrent.go b/torrent.go index fb0b586..dbc681d 100644 --- a/torrent.go +++ b/torrent.go @@ -29,3 +29,14 @@ func (t Torrent) String() string { t.Time, ) } + +func (t Torrent) StringWithoutTitle() string { + return fmt.Sprintf("id: %s | seeders: %d | leechers: %d | downloads: %d | trusted: %t | upload time: %s", + t.ID, + t.Seeders, + t.Leechers, + t.Downloads, + t.Trusted, + t.Time, + ) +}