Return the encapsulated singleton
()
| 21 | type Singleton interface { |
| 22 | // Return the encapsulated singleton |
| 23 | Get() (interface{}, error) |
| 24 | } |
| 25 | |
| 26 | // Call to create a new singleton that is instantiated with the given init function. |
no outgoing calls