Created
January 26, 2023 07:31
-
-
Save arriqaaq/cebab992ce034f866d08c7445e638a04 to your computer and use it in GitHub Desktop.
This file contains 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
myCarFactory := CarFactory{} | |
myCarFactory.SetPrototype(SportsCar{}) | |
myCar := myCarFactory.Create() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment