2018-07-27 22:11:44 +01:00
|
|
|
// Copyright (C) 2018 Storj Labs, Inc.
|
|
|
|
// See LICENSE for copying information.
|
|
|
|
|
|
|
|
package statdb
|
|
|
|
|
2018-11-20 15:54:22 +00:00
|
|
|
// go:generate dbx.v1 schema -d postgres -d sqlite3 statdb.dbx .
|
|
|
|
// go:generate dbx.v1 golang -d postgres -d sqlite3 statdb.dbx .
|
2018-12-07 14:46:42 +00:00
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/zeebo/errs"
|
|
|
|
)
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
// catch dbx errors
|
|
|
|
c := errs.Class("statdb")
|
|
|
|
WrapErr = func(e *Error) error { return c.Wrap(e) }
|
|
|
|
}
|