DEV Community

Discussion on: Provider Pattern in Go and Why You Should Use It

Collapse
 
jiayanguo profile image
jguo • Edited

Thanks for sharing. I do think this is a Strategy Pattern implementation in GO. For me, far more easier if I treat it as Strategy Pattern .

Collapse
 
orenrosen profile image
OrenRosen

Legit. Doesn't really matter that it's not a real or new pattern, just wanted to convey the idea of the abstraction. Where all external knowledge is on the edge. Hope it makes sense :)