storj/satellite/satellitedb/dbx/gen.go
2018-12-10 13:54:52 -05:00

17 lines
330 B
Go

// Copyright (C) 2018 Storj Labs, Inc.
// See LICENSE for copying information.
package satellitedb
//go:generate dbx.v1 golang -d postgres -d sqlite3 satellitedb.dbx .
import (
"github.com/zeebo/errs"
)
func init() {
// catch dbx errors
c := errs.Class("satellitedb")
WrapErr = func(e *Error) error { return c.Wrap(e) }
}