GO CONVERT DATA BINARY DI TEKS ASCII Menggunakan Base64 RFC 4648.

import (
	"encoding/base64"
	"fmt"
)

func main() {
    // encode
    b64txt := base64.StdEncoding.EncodeToString([]byte("The quick brown fox jumps over the lazy dog"))
    
    //decode
    data, _ := base64.StdEncoding.DecodeString(b64txt)
    fmt.Printf("message = %s\n", string(data))
}
Mackerel