From 96032a87740f04da9748e30ea5a75d8094f186c5 Mon Sep 17 00:00:00 2001 From: euphoria-laxis Date: Wed, 13 Sep 2023 10:18:10 +0200 Subject: [PATCH] Rename utils package argon2 utils was not explicit enough when using package, argon2 describes exactly what this package does. --- {utils => argon2}/crypto.go | 2 +- {utils => argon2}/crypto_struct.go | 2 +- {utils => argon2}/crypto_test.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename {utils => argon2}/crypto.go (99%) rename {utils => argon2}/crypto_struct.go (96%) rename {utils => argon2}/crypto_test.go (98%) diff --git a/utils/crypto.go b/argon2/crypto.go similarity index 99% rename from utils/crypto.go rename to argon2/crypto.go index cba15de..e7a0840 100644 --- a/utils/crypto.go +++ b/argon2/crypto.go @@ -1,4 +1,4 @@ -package utils +package argon2 import ( "crypto/rand" diff --git a/utils/crypto_struct.go b/argon2/crypto_struct.go similarity index 96% rename from utils/crypto_struct.go rename to argon2/crypto_struct.go index 2694748..771ebc7 100644 --- a/utils/crypto_struct.go +++ b/argon2/crypto_struct.go @@ -1,4 +1,4 @@ -package utils +package argon2 import "errors" diff --git a/utils/crypto_test.go b/argon2/crypto_test.go similarity index 98% rename from utils/crypto_test.go rename to argon2/crypto_test.go index c3d078e..4035daa 100644 --- a/utils/crypto_test.go +++ b/argon2/crypto_test.go @@ -1,4 +1,4 @@ -package utils +package argon2 import ( "log"