golint, add go report card

This commit is contained in:
Ian Norden
2020-06-22 13:03:46 -05:00
parent 750fa6bbd5
commit 77bd30901d
4 changed files with 19 additions and 3 deletions
+2
View File
@@ -21,12 +21,14 @@ import (
"github.com/jmoiron/sqlx"
)
// Batch is the type that satisfies the ethdb.Batch interface for PG-IPFS Ethereum data
type Batch struct {
db *sqlx.DB
tx *sqlx.Tx
size int
}
// NewBatch returns a ethdb.Batch interface for PG-IPFS
func NewBatch(db *sqlx.DB) ethdb.Batch {
return &Batch{
db: db,