diff --git a/db.go b/db.go index 1cb8698..ded4365 100644 --- a/db.go +++ b/db.go @@ -205,7 +205,7 @@ func loadCard(db *bolt.DB, id int) (Card, error) { var card Card bucket := []byte(cardBucket) - err := db.View(func(tx *bolt.Tx)error { + err := db.View(func(tx *bolt.Tx) error { b := tx.Bucket(bucket) if b == nil { diff --git a/db_test.go b/db_test.go index c00486b..8cb0b63 100644 --- a/db_test.go +++ b/db_test.go @@ -64,7 +64,7 @@ func TestDbDefaultPath(t *testing.T) { if got != want { t.Errorf("Got unexpected database path: want %s, got %s", want, got) - } else { + } else { t.Logf("Got expected database path: got %s", got) } } diff --git a/kanban.go b/kanban.go index 71e886a..e1c43f8 100644 --- a/kanban.go +++ b/kanban.go @@ -9,7 +9,7 @@ type Status struct { // Card represents a card on a Kanban board type Card struct { - Id int - Title string - Content string + Id int + Title string + Content string } diff --git a/magefile.go b/magefile.go index e5debc7..2a8fcec 100644 --- a/magefile.go +++ b/magefile.go @@ -1,4 +1,5 @@ -//+build mage +//go:build mage +// +build mage package main