DEV Community

loading...

Discussion on: Design patterns in Go: Bridge

Collapse
ja7ad profile image
Javad Rajabzade

Thank you can Implement for Sqlite ?

Collapse
cristicurteanu profile image
Cristian Curteanu Author

Of course. The entire idea of this pattern is to have a higher level component that operates with abstractions that can be injected into it. You can extend for N number of database driver implementations, and based on configs to choose which driver will be used in a certain scenario.

Collapse
ja7ad profile image
Javad Rajabzade

Thanks man