Adding lazy initialisation pattern by amoghrajesh · Pull Request #122 · tmrts/go-patterns
Navigation Menu
{{ message }}
tmrts / go-patterns Public
- Notifications You must be signed in to change notification settings
- Fork 2.3k
Open
amoghrajesh wants to merge 1 commit intotmrts:masterfrom
Open
Adding lazy initialisation pattern#122
amoghrajesh wants to merge 1 commit intotmrts:masterfrom
Adding lazy initialisation pattern#122
amoghrajesh wants to merge 1 commit intotmrts:masterfrom
Conversation
Copy link Copy Markdown
amoghrajesh
commented
Oct 1, 2023
amoghrajesh
commented
Adding a new creational pattern: Lazy Initialisation pattern
While not a traditional design pattern, lazy initialization is a common technique in Go. It involves deferring the creation of an object until it is actually needed. You can use this technique to optimize resource usage.
Copy link Copy Markdown
Author
amoghrajesh
commented
Oct 1, 2023
amoghrajesh commented
Oct 1, 2023@tmrts can you take a look at this pull request for hacktoberfest?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment