style: gofmt
All checks were successful
/ test (pull_request) Successful in 29s
/ lint (pull_request) Successful in 37s

This commit is contained in:
Dan Anglin 2023-12-12 14:52:03 +00:00
parent 723e9d9d1e
commit af7f120616
Signed by: dananglin
GPG key ID: 0C1D44CFBEE68638
3 changed files with 4 additions and 4 deletions

View file

@ -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)

View file

@ -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.

View file

@ -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) {