Searched refs:newSingleton (Results 1 – 2 of 2) sorted by relevance
71 func newSingleton(name string, factory SingletonFactory) singleton { func146 singletons = append(singletons, newSingleton(name, factory))
488 ctx.singletons = append(ctx.singletons, newSingleton(name, factory))