From af7f12061644c0463eb51cec4d6f8a922f33c9bf Mon Sep 17 00:00:00 2001 From: Dan Anglin Date: Tue, 12 Dec 2023 14:52:03 +0000 Subject: [PATCH] style: gofmt --- internal/board/board.go | 2 +- internal/board/card.go | 2 +- internal/board/card_lifecycle_test.go | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/internal/board/board.go b/internal/board/board.go index 686447c..7008b40 100644 --- a/internal/board/board.go +++ b/internal/board/board.go @@ -221,7 +221,7 @@ func (b *Board) CreateCard(args CardArgs) (int, error) { ID: -1, Title: args.NewTitle, Content: args.NewContent, - Created: timestamp, + Created: timestamp, } cardID, err := db.Write(b.db, db.CardBucket, &card) diff --git a/internal/board/card.go b/internal/board/card.go index 9ea2c50..ee362ab 100644 --- a/internal/board/card.go +++ b/internal/board/card.go @@ -15,7 +15,7 @@ type Card struct { ID int Title string Content string - Created string + Created string } // UpdateId updates the ID of the Card value. diff --git a/internal/board/card_lifecycle_test.go b/internal/board/card_lifecycle_test.go index 8641916..0d19af5 100644 --- a/internal/board/card_lifecycle_test.go +++ b/internal/board/card_lifecycle_test.go @@ -141,7 +141,7 @@ func testUpdateCard(kanban board.Board, cardID int, newTitle, newContent, timest ID: cardID, Title: newTitle, Content: newContent, - Created: timestamp, + Created: timestamp, } if !reflect.DeepEqual(got, want) { @@ -177,7 +177,7 @@ func testUpdateCardContent(kanban board.Board, cardID int, expectedTitle, newCon ID: cardID, Title: expectedTitle, Content: newContent, - Created: timestamp, + Created: timestamp, } if !reflect.DeepEqual(got, want) {