Golang Database Development

How To Use Redis with Golang

How To Use Redis with Golang Utilizing Redis with Golang is easy and can have dramatic affects on the performance of your application. Redis is an open source, in-memory data structure store, used as a database, cache and message broker. Redis supports a number of data structures including strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs and more. The advantages of using Redis over other caching stores, such as Memcached, is that Redis offers persistence.

Continue reading

How To Get Results Using Golang with MySQL Database

How To Get Results Using Golang with MySQL Database Golang, via the standard Go-SQL driver package has excellent support for relational databases like MySQL as well as NoSQL databases like MongoDB and Redis. Using the standard Go SQL driver package, you can easily communicate with databases, including MySQL, MongoDB or any of the other databases within the list of drivers. For a list of Golang database drivers. The SQL standard package provides a generic interface that exposes many common methods and interfaces that you can use to access and work with databases.

Continue reading