Skip to content

Instantly share code, notes, and snippets.

View Emeka-Chukwu's full-sized avatar

Emeka Chukwu Emeka-Chukwu

View GitHub Profile
@gjtorikian
gjtorikian / main.go
Created October 13, 2020 15:43
Heroku chat sample
package main
import (
"encoding/json"
"io"
"log"
"net/http"
"os"
"github.com/go-redis/redis"
@nikhita
nikhita / update-golang.md
Last active June 14, 2024 16:06
How to update the Go version

How to update the Go version

System: Debian/Ubuntu/Fedora. Might work for others as well.

1. Uninstall the exisiting version

As mentioned here, to update a go version you will first need to uninstall the original version.

To uninstall, delete the /usr/local/go directory by: