style: go fmt and goimports

This commit is contained in:
Dan Anglin 2021-09-15 05:51:22 +01:00
parent e70d7c5611
commit 7d97ed4834
Signed by: dananglin
GPG key ID: 0C1D44CFBEE68638
4 changed files with 7 additions and 6 deletions

2
db.go
View file

@ -205,7 +205,7 @@ func loadCard(db *bolt.DB, id int) (Card, error) {
var card Card var card Card
bucket := []byte(cardBucket) bucket := []byte(cardBucket)
err := db.View(func(tx *bolt.Tx)error { err := db.View(func(tx *bolt.Tx) error {
b := tx.Bucket(bucket) b := tx.Bucket(bucket)
if b == nil { if b == nil {

View file

@ -1,4 +1,5 @@
//+build mage //go:build mage
// +build mage
package main package main