Documentation
¶
Overview ¶
Package data contains generated code for schema 'public'.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GorpMigration ¶
type GorpMigrationQ ¶
type GorpMigrationQ interface{}
type Storage ¶
type Storage interface {
TransactionQ() TransactionQ
DB() *pgdb.DB
}
type StringSlice ¶
type StringSlice []string
StringSlice is a slice of strings.
func (*StringSlice) Scan ¶
func (ss *StringSlice) Scan(src interface{}) error
Scan satisfies the sql.Scanner interface for StringSlice.
type Transaction ¶
Transaction represents a row from 'public.transactions'.
type TransactionQ ¶
type TransactionQ interface {
InsertCtx(ctx context.Context, t *Transaction) error
DeleteCtx(ctx context.Context, t *Transaction) error
Select(ctx context.Context) ([]Transaction, error)
SelectWithLimit(ctx context.Context, limit uint64) ([]Transaction, error)
}
Click to show internal directories.
Click to hide internal directories.