From 62aa3d79d93aed41e33538cb94050141864508aa Mon Sep 17 00:00:00 2001 From: Mihai Parparita Date: Sat, 6 Dec 2014 14:51:58 -0800 Subject: [PATCH] Fix formatting after ba402fabad9ff1361b60883fac84e59bd1df25e8. --- app/digest.go | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/app/digest.go b/app/digest.go index 6ffb1ac..7a36d2a 100644 --- a/app/digest.go +++ b/app/digest.go @@ -21,12 +21,12 @@ const ( ) type DigestCommit struct { - DisplaySHA string - URL string - Title string - Message string - PushDate time.Time - CommitDate time.Time + DisplaySHA string + URL string + Title string + Message string + PushDate time.Time + CommitDate time.Time } func safeFormattedDate(date string) string { @@ -56,12 +56,12 @@ func newDigestCommit(commit *github.RepositoryCommit, repo *Repo, location *time message = messagePieces[1] } return DigestCommit{ - DisplaySHA: (*commit.SHA)[:7], - URL: fmt.Sprintf("https://github.com/%s/commit/%s", *repo.FullName, *commit.SHA), - Title: title, - Message: message, - PushDate: commit.Commit.Committer.Date.In(location), - CommitDate: commit.Commit.Author.Date.In(location), + DisplaySHA: (*commit.SHA)[:7], + URL: fmt.Sprintf("https://github.com/%s/commit/%s", *repo.FullName, *commit.SHA), + Title: title, + Message: message, + PushDate: commit.Commit.Committer.Date.In(location), + CommitDate: commit.Commit.Author.Date.In(location), } }