Golang / Go Crash Course 08 | Using Redis as A Cache for our REST API
In this article we are going to setup a caching layer in our Golang application by using Redis. REDIS is REmote DIctionary Server which is …
Favourite tutorials for developers
In this article we are going to setup a caching layer in our Golang application by using Redis. REDIS is REmote DIctionary Server which is …
In this article we are going to build a docker container for our Golang application and before doing that we are going to quickly setup Go Modules that will allow us to manage the application dependencies efficiently and also will help us to down load those libraries to build and run the application using docker containers.
In this article, we are going to test our REST API by using the HTTP test library and we are going to use SQLite 3 as the database.
In this article we are going to use goroutines and channels to build an API mashup pulling data from two different APIs… This is going to be the result after the mashup of the two APIs that we are going to integrate using goroutines and channels.
In this article, we are going to unit test our application by mocking some components in order to isolate the modules that we want to test. In the previous article we refactored our API implement a Clean Architecture approach so we created all these interfaces. We are going to use Testify to create the mock repository that is going to be an implementation of the post repository interface.
In this article, we are going to apply the principles of the clean architecture by (Uncle) Bob Martin in our Golang API: Independent of frameworks, Testable, Independent of UI, Independent of Database, Independent of any external agency.
In this article, i am going to connect our Golang API with a Firestore database replacing the array that we are currently using to store the data. Firestore is a NoSQL database from Google Firebase…
In this article, it will show you how to create a simple REST API using Golang and Mux. Mux is a router that will allow us to handle the HTTP requests that we are going to receive in our API. We will have 2 REST APIs based on url “/posts”, with GET method to return the list of posts, with POST method to create new post.
This contains the tutorials of Golang / Go Crash Course series Install Golang You can find some downloads of Go for Microsoft Windows, Apple macOS …