From 53bb04a30d9d87ef28464d860101431fff9715cc Mon Sep 17 00:00:00 2001 From: "Rieb, Elias" Date: Wed, 6 Dec 2023 08:46:28 +0100 Subject: [PATCH] Rename package and remove golang patch version from go.mod --- go.mod | 2 +- pkg/{auconfigloader => configloader}/loader.go | 2 +- pkg/{auconfigloader => configloader}/provider.go | 2 +- pkg/{auconfigloader => configloader}/validator.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename pkg/{auconfigloader => configloader}/loader.go (98%) rename pkg/{auconfigloader => configloader}/provider.go (98%) rename pkg/{auconfigloader => configloader}/validator.go (98%) diff --git a/go.mod b/go.mod index ce56b17..8b54280 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/Roshick/go-autumn-configloader -go 1.21.4 +go 1.21 require ( github.com/StephanHCB/go-autumn-config-api v0.2.1 diff --git a/pkg/auconfigloader/loader.go b/pkg/configloader/loader.go similarity index 98% rename from pkg/auconfigloader/loader.go rename to pkg/configloader/loader.go index a4b5138..de9f2dd 100644 --- a/pkg/auconfigloader/loader.go +++ b/pkg/configloader/loader.go @@ -1,4 +1,4 @@ -package auconfigloader +package configloader import ( "errors" diff --git a/pkg/auconfigloader/provider.go b/pkg/configloader/provider.go similarity index 98% rename from pkg/auconfigloader/provider.go rename to pkg/configloader/provider.go index 2e8c0db..60eff41 100644 --- a/pkg/auconfigloader/provider.go +++ b/pkg/configloader/provider.go @@ -1,4 +1,4 @@ -package auconfigloader +package configloader import ( "fmt" diff --git a/pkg/auconfigloader/validator.go b/pkg/configloader/validator.go similarity index 98% rename from pkg/auconfigloader/validator.go rename to pkg/configloader/validator.go index aaee2c1..eccad4d 100644 --- a/pkg/auconfigloader/validator.go +++ b/pkg/configloader/validator.go @@ -1,4 +1,4 @@ -package auconfigloader +package configloader import ( "fmt"