Versions in this module Expand all Collapse all v1 v1.4.8 Jul 31, 2020 Changes in this version + type FabricCADB struct + BeginTxStub func() db.FabricCATx + CloseStub func() error + DriverNameStub func() string + ExecStub func(string, string, ...interface{}) (sql.Result, error) + GetStub func(string, interface{}, string, ...interface{}) error + IsInitializedStub func() bool + MustBeginStub func() *sqlx.Tx + NamedExecStub func(string, string, interface{}) (sql.Result, error) + PingContextStub func(context.Context) error + QueryxStub func(string, string, ...interface{}) (*sqlx.Rows, error) + RebindStub func(string) string + SelectStub func(string, interface{}, string, ...interface{}) error + SetDBInitializedStub func(bool) + SetMaxOpenConnsStub func(int) + func (fake *FabricCADB) BeginTx() db.FabricCATx + func (fake *FabricCADB) BeginTxCallCount() int + func (fake *FabricCADB) BeginTxCalls(stub func() db.FabricCATx) + func (fake *FabricCADB) BeginTxReturns(result1 db.FabricCATx) + func (fake *FabricCADB) BeginTxReturnsOnCall(i int, result1 db.FabricCATx) + func (fake *FabricCADB) Close() error + func (fake *FabricCADB) CloseCallCount() int + func (fake *FabricCADB) CloseCalls(stub func() error) + func (fake *FabricCADB) CloseReturns(result1 error) + func (fake *FabricCADB) CloseReturnsOnCall(i int, result1 error) + func (fake *FabricCADB) DriverName() string + func (fake *FabricCADB) DriverNameCallCount() int + func (fake *FabricCADB) DriverNameCalls(stub func() string) + func (fake *FabricCADB) DriverNameReturns(result1 string) + func (fake *FabricCADB) DriverNameReturnsOnCall(i int, result1 string) + func (fake *FabricCADB) Exec(arg1 string, arg2 string, arg3 ...interface{}) (sql.Result, error) + func (fake *FabricCADB) ExecArgsForCall(i int) (string, string, []interface{}) + func (fake *FabricCADB) ExecCallCount() int + func (fake *FabricCADB) ExecCalls(stub func(string, string, ...interface{}) (sql.Result, error)) + func (fake *FabricCADB) ExecReturns(result1 sql.Result, result2 error) + func (fake *FabricCADB) ExecReturnsOnCall(i int, result1 sql.Result, result2 error) + func (fake *FabricCADB) Get(arg1 string, arg2 interface{}, arg3 string, arg4 ...interface{}) error + func (fake *FabricCADB) GetArgsForCall(i int) (string, interface{}, string, []interface{}) + func (fake *FabricCADB) GetCallCount() int + func (fake *FabricCADB) GetCalls(stub func(string, interface{}, string, ...interface{}) error) + func (fake *FabricCADB) GetReturns(result1 error) + func (fake *FabricCADB) GetReturnsOnCall(i int, result1 error) + func (fake *FabricCADB) Invocations() map[string][][]interface{} + func (fake *FabricCADB) IsInitialized() bool + func (fake *FabricCADB) IsInitializedCallCount() int + func (fake *FabricCADB) IsInitializedCalls(stub func() bool) + func (fake *FabricCADB) IsInitializedReturns(result1 bool) + func (fake *FabricCADB) IsInitializedReturnsOnCall(i int, result1 bool) + func (fake *FabricCADB) MustBegin() *sqlx.Tx + func (fake *FabricCADB) MustBeginCallCount() int + func (fake *FabricCADB) MustBeginCalls(stub func() *sqlx.Tx) + func (fake *FabricCADB) MustBeginReturns(result1 *sqlx.Tx) + func (fake *FabricCADB) MustBeginReturnsOnCall(i int, result1 *sqlx.Tx) + func (fake *FabricCADB) NamedExec(arg1 string, arg2 string, arg3 interface{}) (sql.Result, error) + func (fake *FabricCADB) NamedExecArgsForCall(i int) (string, string, interface{}) + func (fake *FabricCADB) NamedExecCallCount() int + func (fake *FabricCADB) NamedExecCalls(stub func(string, string, interface{}) (sql.Result, error)) + func (fake *FabricCADB) NamedExecReturns(result1 sql.Result, result2 error) + func (fake *FabricCADB) NamedExecReturnsOnCall(i int, result1 sql.Result, result2 error) + func (fake *FabricCADB) PingContext(arg1 context.Context) error + func (fake *FabricCADB) PingContextArgsForCall(i int) context.Context + func (fake *FabricCADB) PingContextCallCount() int + func (fake *FabricCADB) PingContextCalls(stub func(context.Context) error) + func (fake *FabricCADB) PingContextReturns(result1 error) + func (fake *FabricCADB) PingContextReturnsOnCall(i int, result1 error) + func (fake *FabricCADB) Queryx(arg1 string, arg2 string, arg3 ...interface{}) (*sqlx.Rows, error) + func (fake *FabricCADB) QueryxArgsForCall(i int) (string, string, []interface{}) + func (fake *FabricCADB) QueryxCallCount() int + func (fake *FabricCADB) QueryxCalls(stub func(string, string, ...interface{}) (*sqlx.Rows, error)) + func (fake *FabricCADB) QueryxReturns(result1 *sqlx.Rows, result2 error) + func (fake *FabricCADB) QueryxReturnsOnCall(i int, result1 *sqlx.Rows, result2 error) + func (fake *FabricCADB) Rebind(arg1 string) string + func (fake *FabricCADB) RebindArgsForCall(i int) string + func (fake *FabricCADB) RebindCallCount() int + func (fake *FabricCADB) RebindCalls(stub func(string) string) + func (fake *FabricCADB) RebindReturns(result1 string) + func (fake *FabricCADB) RebindReturnsOnCall(i int, result1 string) + func (fake *FabricCADB) Select(arg1 string, arg2 interface{}, arg3 string, arg4 ...interface{}) error + func (fake *FabricCADB) SelectArgsForCall(i int) (string, interface{}, string, []interface{}) + func (fake *FabricCADB) SelectCallCount() int + func (fake *FabricCADB) SelectCalls(stub func(string, interface{}, string, ...interface{}) error) + func (fake *FabricCADB) SelectReturns(result1 error) + func (fake *FabricCADB) SelectReturnsOnCall(i int, result1 error) + func (fake *FabricCADB) SetDBInitialized(arg1 bool) + func (fake *FabricCADB) SetDBInitializedArgsForCall(i int) bool + func (fake *FabricCADB) SetDBInitializedCallCount() int + func (fake *FabricCADB) SetDBInitializedCalls(stub func(bool)) + func (fake *FabricCADB) SetMaxOpenConns(arg1 int) + func (fake *FabricCADB) SetMaxOpenConnsArgsForCall(i int) int + func (fake *FabricCADB) SetMaxOpenConnsCallCount() int + func (fake *FabricCADB) SetMaxOpenConnsCalls(stub func(int)) + type FabricCATx struct + CommitStub func(string) error + ExecStub func(string, string, ...interface{}) (sql.Result, error) + GetStub func(string, interface{}, string, ...interface{}) error + QueryxStub func(string, string, ...interface{}) (*sqlx.Rows, error) + RebindStub func(string) string + RollbackStub func(string) error + SelectStub func(string, interface{}, string, ...interface{}) error + func (fake *FabricCATx) Commit(arg1 string) error + func (fake *FabricCATx) CommitArgsForCall(i int) string + func (fake *FabricCATx) CommitCallCount() int + func (fake *FabricCATx) CommitCalls(stub func(string) error) + func (fake *FabricCATx) CommitReturns(result1 error) + func (fake *FabricCATx) CommitReturnsOnCall(i int, result1 error) + func (fake *FabricCATx) Exec(arg1 string, arg2 string, arg3 ...interface{}) (sql.Result, error) + func (fake *FabricCATx) ExecArgsForCall(i int) (string, string, []interface{}) + func (fake *FabricCATx) ExecCallCount() int + func (fake *FabricCATx) ExecCalls(stub func(string, string, ...interface{}) (sql.Result, error)) + func (fake *FabricCATx) ExecReturns(result1 sql.Result, result2 error) + func (fake *FabricCATx) ExecReturnsOnCall(i int, result1 sql.Result, result2 error) + func (fake *FabricCATx) Get(arg1 string, arg2 interface{}, arg3 string, arg4 ...interface{}) error + func (fake *FabricCATx) GetArgsForCall(i int) (string, interface{}, string, []interface{}) + func (fake *FabricCATx) GetCallCount() int + func (fake *FabricCATx) GetCalls(stub func(string, interface{}, string, ...interface{}) error) + func (fake *FabricCATx) GetReturns(result1 error) + func (fake *FabricCATx) GetReturnsOnCall(i int, result1 error) + func (fake *FabricCATx) Invocations() map[string][][]interface{} + func (fake *FabricCATx) Queryx(arg1 string, arg2 string, arg3 ...interface{}) (*sqlx.Rows, error) + func (fake *FabricCATx) QueryxArgsForCall(i int) (string, string, []interface{}) + func (fake *FabricCATx) QueryxCallCount() int + func (fake *FabricCATx) QueryxCalls(stub func(string, string, ...interface{}) (*sqlx.Rows, error)) + func (fake *FabricCATx) QueryxReturns(result1 *sqlx.Rows, result2 error) + func (fake *FabricCATx) QueryxReturnsOnCall(i int, result1 *sqlx.Rows, result2 error) + func (fake *FabricCATx) Rebind(arg1 string) string + func (fake *FabricCATx) RebindArgsForCall(i int) string + func (fake *FabricCATx) RebindCallCount() int + func (fake *FabricCATx) RebindCalls(stub func(string) string) + func (fake *FabricCATx) RebindReturns(result1 string) + func (fake *FabricCATx) RebindReturnsOnCall(i int, result1 string) + func (fake *FabricCATx) Rollback(arg1 string) error + func (fake *FabricCATx) RollbackArgsForCall(i int) string + func (fake *FabricCATx) RollbackCallCount() int + func (fake *FabricCATx) RollbackCalls(stub func(string) error) + func (fake *FabricCATx) RollbackReturns(result1 error) + func (fake *FabricCATx) RollbackReturnsOnCall(i int, result1 error) + func (fake *FabricCATx) Select(arg1 string, arg2 interface{}, arg3 string, arg4 ...interface{}) error + func (fake *FabricCATx) SelectArgsForCall(i int) (string, interface{}, string, []interface{}) + func (fake *FabricCATx) SelectCallCount() int + func (fake *FabricCATx) SelectCalls(stub func(string, interface{}, string, ...interface{}) error) + func (fake *FabricCATx) SelectReturns(result1 error) + func (fake *FabricCATx) SelectReturnsOnCall(i int, result1 error)