Golang Hex Base64

base641 := base64.NewEncoder(base64.StdEncoding, os.Stdout)
base641.Write([]byte("Hello world"))

decoded := base64.NewDecoder(base64.RawStdEncoding, strings.NewReader("SGVsbG8gd29y="))
hexRead, _ := ioutil.ReadAll(decoded)
fmt.Println(string(hexRead))
Restu Wahyu Saputra