MCPcopy
hub / github.com/micro/go-micro / sqlStore

Struct sqlStore

store/mysql/mysql.go:21–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19)
20
21type sqlStore struct {
22 db *sql.DB
23
24 database string
25 table string
26
27 options store.Options
28
29 readPrepare, writePrepare, deletePrepare *sql.Stmt
30}
31
32func (s *sqlStore) Init(opts ...store.Option) error {
33 for _, o := range opts {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected