Skip to content

Instantly share code, notes, and snippets.


John Wesley johnwesley

View GitHub Profile
sdorra / keys.go
Created Apr 17, 2016
Golang RSA Key Generation
View keys.go
* Genarate rsa keys.
package main
import (
vsouza / .bashrc
Last active Jan 15, 2022
Golang setup in Mac OSX with HomeBrew. Set `GOPATH` and `GOROOT` variables in zshell, fish or bash.
View .bashrc
# Set variables in .bashrc file
# don't forget to change your path correctly!
export GOPATH=$HOME/golang
export GOROOT=/usr/local/opt/go/libexec
export PATH=$PATH:$GOPATH/bin
export PATH=$PATH:$GOROOT/bin