Rewrite redis in go programming language