Add an extra newline before search results

pull/17/head
Christian Muehlhaeuser 2020-08-23 06:58:54 +02:00
rodzic 4414c515df
commit b727b5f719
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 3CF9FA45CA1EBB7E
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -49,7 +49,7 @@ func search(token string) error {
abort := false
for _, s := range statuses {
if strings.Contains(strings.ToLower(cleanupContent(s.Content)), token) {
fmt.Println("\nFound toot:", cleanupContent(s.Content))
fmt.Println("\n\nFound toot:", cleanupContent(s.Content))
fmt.Println("Date:", s.CreatedAt.Format(time.RFC822))
fmt.Println("URL:", s.URL)
fmt.Println()