Skip to content

feat: provide options to allow customization#17

Open
jakoblorz wants to merge 7 commits intojensteichert:mainfrom
jakoblorz:f/provide-customizability
Open

feat: provide options to allow customization#17
jakoblorz wants to merge 7 commits intojensteichert:mainfrom
jakoblorz:f/provide-customizability

Conversation

@jakoblorz
Copy link

Adds options to the database. As the current way to setup databases is to create the instance manually, opts need to be a value to prevent nil errors. I made sure that this way is still supported, but if options need to be provided, a call to colt.New is required.

This pattern can be extended to allow customizing many things, for example the timeout for used in the DefaultContext() (if that is moved into the database).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant