| 19 | ) |
| 20 | |
| 21 | type 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 | |
| 32 | func (s *sqlStore) Init(opts ...store.Option) error { |
| 33 | for _, o := range opts { |
nothing calls this directly
no outgoing calls
no test coverage detected