Go and DAO pattern

Ive scanned GO patterns and I cant find the DAO pattern.

Any reason why its not popular in GO?
And if im mistaken, please suggest examples or tutorials for the same showing its usage in GO


1 Like

Good question…!!!
Sometimes is good idea reuse techniques from another languages.in go but not all the times…
Please check https://github.com/gustavocd/dao-pattern-in-go


Is this a web site? Where did you look for this pattern?

1 Like

Acclaimed Links

Go Concurrency Patterns

Others on google search (authors not verified though)

1 Like

I feel all interface based patters are transitive across languages and akin to design. Inheritance and Structural patterns can be avoid and different; but when it comes to interfaces I dont see a reason not to follow them. DAO is an interface based pattern and I’d need a good reason for someone to argue its not required (or any suitable pattern to replace it). Open to be wrong but need convincing.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.