From 61effacc2d05686eedca693ef80c3ebe2eb9d3dd Mon Sep 17 00:00:00 2001
From: Peter
Date: Mon, 5 Dec 2022 15:39:54 +0300
Subject: [PATCH] README
---
README.md | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index 66afb12..e0eeb66 100644
--- a/README.md
+++ b/README.md
@@ -22,7 +22,8 @@ package main
import "github.com/julyskies/strenco"
func main() {
- encoded, encodingError := strenco.Encode("Lorem ipsum dolor sit amet, consectetur adipiscing elit.")
+ plaintext := "Lorem ipsum dolor sit amet, consectetur adipiscing elit."
+ encoded, encodingError := strenco.Encode(plaintext)
if encodingError != nil {
println(encodingError.Error())
} else {
@@ -39,7 +40,8 @@ package main
import "github.com/julyskies/strenco"
func main() {
- decoded, decodingError := strenco.Decode(`%%7z;1tsk1JA!NbAFwzj j&{r(3#"+L%m*{B/ox/%%`)
+ encoded := `%%7z;1tsk1JA!NbAFwzj j&{r(3#"+L%m*{B/ox/%%`
+ decoded, decodingError := strenco.Decode(encoded)
if decodingError != nil {
println(decodingError.Error())
} else {