Factory Method
Define an interface for creating a single object, but let subclasses decide which class to instantiate. Factory Method lets a class defer instantiation to subclasses.
Examples in
Go
No examples yet.
You can see if there are examples in other languages or
be the first to post an example in Go!
You can see if there are examples in other languages or
be the first to post an example in Go!