From bb35128b5cdfc813246a96e62246b4213161ea25 Mon Sep 17 00:00:00 2001 From: Melair Date: Tue, 21 May 2024 20:36:53 +0100 Subject: [PATCH] Rename complex package to avoid builtin package. --- complex/complex.go => converter/converter.go | 2 +- complex/complex_test.go => converter/converter_test.go | 2 +- {complex => converter}/time.go | 2 +- {complex => converter}/time_test.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename complex/complex.go => converter/converter.go (96%) rename complex/complex_test.go => converter/converter_test.go (97%) rename {complex => converter}/time.go (97%) rename {complex => converter}/time_test.go (98%) diff --git a/complex/complex.go b/converter/converter.go similarity index 96% rename from complex/complex.go rename to converter/converter.go index cc88668..d703f5d 100644 --- a/complex/complex.go +++ b/converter/converter.go @@ -1,4 +1,4 @@ -package complex +package converter import "github.com/shimmeringbee/persistence" diff --git a/complex/complex_test.go b/converter/converter_test.go similarity index 97% rename from complex/complex_test.go rename to converter/converter_test.go index b26490b..ab19188 100644 --- a/complex/complex_test.go +++ b/converter/converter_test.go @@ -1,4 +1,4 @@ -package complex +package converter import ( "github.com/shimmeringbee/persistence/impl/memory" diff --git a/complex/time.go b/converter/time.go similarity index 97% rename from complex/time.go rename to converter/time.go index 522852e..c1c6abd 100644 --- a/complex/time.go +++ b/converter/time.go @@ -1,4 +1,4 @@ -package complex +package converter import ( "github.com/shimmeringbee/persistence" diff --git a/complex/time_test.go b/converter/time_test.go similarity index 98% rename from complex/time_test.go rename to converter/time_test.go index e5ebacf..661f690 100644 --- a/complex/time_test.go +++ b/converter/time_test.go @@ -1,4 +1,4 @@ -package complex +package converter import ( "github.com/shimmeringbee/persistence/impl/memory"