Skip to content

Commit

Permalink
extracted DBConfig from connector, added respective options
Browse files Browse the repository at this point in the history
  • Loading branch information
adranwit committed Jun 14, 2024
1 parent fa6f5da commit e394942
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion view/option.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ func WithDBConfig(dbConfig *DBConfig) Option {
}
}

// WithConnector creates connector View option
// WithConnectorRef creates connector View option
func WithConnectorRef(ref string) Option {
return func(v *View) error {
v.Connector = NewRefConnector(ref)
Expand Down

0 comments on commit e394942

Please sign in to comment.