From 08db5147e80564e10d90cfe839b2bacdf5b330ed Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Tue, 4 Apr 2017 23:53:27 +0200 Subject: [PATCH] Adhere to example name conventions (enforced by `go vet`) Signed-off-by: Knut Ahlers --- examples_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples_test.go b/examples_test.go index ddb1e68..9cf008c 100644 --- a/examples_test.go +++ b/examples_test.go @@ -2,7 +2,7 @@ package openssl import "fmt" -func ExampleEncryptString() { +func ExampleOpenSSL_EncryptString() { plaintext := "Hello World!" passphrase := "z4yH36a6zerhfE5427ZV" @@ -16,7 +16,7 @@ func ExampleEncryptString() { fmt.Printf("Encrypted text: %s\n", string(enc)) } -func ExampleDecryptString() { +func ExampleOpenSSL_DecryptString() { opensslEncrypted := "U2FsdGVkX19ZM5qQJGe/d5A/4pccgH+arBGTp+QnWPU=" passphrase := "z4yH36a6zerhfE5427ZV"