Skip to content

Commit

Permalink
add linebreaks to output
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Gumprich committed Jul 28, 2023
1 parent 645ed94 commit 9676ab0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ func main() {
// get random article
rand.Seed(time.Now().UnixNano())
randIdx := rand.Intn(len(oldArticles))
fmt.Printf("Confluence page [%s](%s/pages/viewpage.action?pageId=%s) was last updated at %s. Please check its contents.", oldArticles[randIdx].Title, domain, oldArticles[randIdx].ID, oldArticles[randIdx].lastUpdateTime.Format("2006-01-02"))
fmt.Printf("Confluence page [%s](%s/pages/viewpage.action?pageId=%s) was last updated at %s. Please check its contents.\n", oldArticles[randIdx].Title, domain, oldArticles[randIdx].ID, oldArticles[randIdx].lastUpdateTime.Format("2006-01-02"))
} else {
fmt.Printf("There are no old Confluence Pages. Congratulations!")
fmt.Println("There are no old Confluence Pages. Congratulations!")
}
}

0 comments on commit 9676ab0

Please sign in to comment.