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