package crypto import ( "fmt" "testing" ) func TestCrypto_Base64Decode(t *testing.T) { fmt.Println(cryptoTool.Base64Encode("hello world!")) //aGVsbG8gd29ybGQh fmt.Println(cryptoTool.Base64Decode("aGVsbG8gd29ybGQh!")) //hello world! }