Skip to content

Conversation

robertek
Copy link

This example shows how to create global configuration module that may be used anywhere in the code with predefined interface.

@softdevca
Copy link

This should be updated to use OnceLock instead of lazy_static. See pr #515

@robertek
Copy link
Author

Thanks for pointing that out.

I have updated that and added a comments around.

@softdevca
Copy link

@robertek
Copy link
Author

Thanks for the review. I've applied that change.

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.

2 participants