vendredi 13 septembre 2019

Why Decorator pattern doesn't widely use in Golang core?

I can hardly find any examples of decorator pattern in Go core. Could you help me find some?

I am with java background. And java io is an example of using decorator pattern:

 new BufferedReader(new FileReader(new File("some.file")));

I don't see that in go io.

Aucun commentaire:

Enregistrer un commentaire