Deploy golang service to Google Cloud

We will be using Google Cloud Run with the help of a Dockerfile. First, let’s say you have an application like this (main.go file below) Then you’ll need to create a Dockerfile in your directory (same as main.go): Then we can run this command (with Google Cloud SDK installed). myservice is the new name of …

How to use Golang and React for WebSocket

I found myself wanting to try out little bit of experimenting to learn more about web sockets, let us try it out using golang and react. First, set up a project Golang project by creating a folder and in it, create main.go file. Golang WebSocket Server It’s very simple if you take use of the …