add store to defaults (#1086)

This commit is contained in:
Asim Aslam
2020-01-06 17:44:32 +00:00
committed by GitHub
parent df9055f69c
commit be6e8a7c78
5 changed files with 53 additions and 2 deletions

View File

@@ -173,7 +173,7 @@ func (s *sqlStore) initDB() {
}
// New returns a new micro Store backed by sql
func New(opts ...store.Option) store.Store {
func NewStore(opts ...store.Option) store.Store {
var options store.Options
for _, o := range opts {
o(&options)