From 57c713156486665ecbfc694e334dc385fc4203f3 Mon Sep 17 00:00:00 2001 From: Boris Glimcher Date: Tue, 26 Sep 2023 01:06:33 +0300 Subject: [PATCH] refactor: rename to utils finally Signed-off-by: Boris Glimcher --- pkg/{server => utils}/tls.go | 4 ++-- pkg/{server => utils}/tls_test.go | 4 ++-- pkg/{server => utils}/utils.go | 4 ++-- pkg/{server => utils}/utils_test.go | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) rename pkg/{server => utils}/tls.go (97%) rename pkg/{server => utils}/tls_test.go (98%) rename pkg/{server => utils}/utils.go (98%) rename pkg/{server => utils}/utils_test.go (98%) diff --git a/pkg/server/tls.go b/pkg/utils/tls.go similarity index 97% rename from pkg/server/tls.go rename to pkg/utils/tls.go index 5be2e909..b2e46278 100644 --- a/pkg/server/tls.go +++ b/pkg/utils/tls.go @@ -1,8 +1,8 @@ // SPDX-License-Identifier: Apache-2.0 // Copyright (C) 2023 Intel Corporation -// Package server implements the server -package server +// Package utils contails useful helper functions +package utils import ( "crypto/tls" diff --git a/pkg/server/tls_test.go b/pkg/utils/tls_test.go similarity index 98% rename from pkg/server/tls_test.go rename to pkg/utils/tls_test.go index 171d994f..5bd8690d 100644 --- a/pkg/server/tls_test.go +++ b/pkg/utils/tls_test.go @@ -1,8 +1,8 @@ // SPDX-License-Identifier: Apache-2.0 // Copyright (C) 2023 Intel Corporation -// Package server implements the server -package server +// Package utils contails useful helper functions +package utils import ( "crypto/tls" diff --git a/pkg/server/utils.go b/pkg/utils/utils.go similarity index 98% rename from pkg/server/utils.go rename to pkg/utils/utils.go index 3db6749f..77519ac3 100644 --- a/pkg/server/utils.go +++ b/pkg/utils/utils.go @@ -2,8 +2,8 @@ // Copyright (c) 2022-2023 Dell Inc, or its subsidiaries. // Copyright (C) 2023 Intel Corporation -// Package server implements the server -package server +// Package utils contails useful helper functions +package utils import ( "crypto/rand" diff --git a/pkg/server/utils_test.go b/pkg/utils/utils_test.go similarity index 98% rename from pkg/server/utils_test.go rename to pkg/utils/utils_test.go index a0b077c1..e355372b 100644 --- a/pkg/server/utils_test.go +++ b/pkg/utils/utils_test.go @@ -1,8 +1,8 @@ // SPDX-License-Identifier: Apache-2.0 // Copyright (C) 2023 Intel Corporation -// Package server implements the server -package server +// Package utils contails useful helper functions +package utils import ( "testing"