MCPcopy Create free account
hub / github.com/cloudwan/gohan / Begin

Method Begin

db/db.go:42–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40 Connect(string, string, int) error
41 Close()
42 Begin() (transaction.Transaction, error)
43 BeginTx(ctx context.Context, options *transaction.TxOptions) (transaction.Transaction, error)
44 RegisterTable(s *schema.Schema, cascade, migrate bool) error
45 DropTable(*schema.Schema) error

Callers 8

server_test.goFile · 0.65
BeginMethod · 0.65
WithinFunction · 0.65
db_test.goFile · 0.65
sql_test.goFile · 0.65

Implementers 4

DBdb/sql/sql.go
MockDBdb/mocks/db.go
MockDBMockRecorderdb/mocks/db.go
DBdb/file/file.go

Calls

no outgoing calls

Tested by

no test coverage detected