Your comments

I'm not sure that I understood well (I used google translate :D ), but if you are looking for Go examples, you could check it out here Design Patterns in Go (refactoring.guru)