Port of rufus-mnemo from ruby to golang