Skip to content

Commit

Permalink
provider
Browse files Browse the repository at this point in the history
  • Loading branch information
mfridman committed Oct 7, 2023
1 parent 3fc1be0 commit f3790cb
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,7 @@ import (
// Functional options are used to configure the Provider. See [ProviderOption] for more information.
//
// Unless otherwise specified, all methods on Provider are safe for concurrent use.
func NewProvider(
dialect Dialect,
db *sql.DB,
fsys fs.FS,
opts ...ProviderOption,
) (*Provider, error) {
func NewProvider(dialect Dialect, db *sql.DB, fsys fs.FS, opts ...ProviderOption) (*Provider, error) {
if db == nil {
return nil, errors.New("db must not be nil")
}
Expand Down

0 comments on commit f3790cb

Please sign in to comment.