From 0cfb6a6332f2e2551c21888bb6e6f22e52d2336c Mon Sep 17 00:00:00 2001 From: Aldino Kemal Date: Fri, 11 Oct 2024 23:27:28 +0700 Subject: [PATCH] feat: update package name --- src/domains/{newletter => newsletter}/newsletter.go | 2 +- src/internal/rest/newsletter.go | 2 +- src/services/newsletter.go | 2 +- src/validations/newsletter_validation.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename src/domains/{newletter => newsletter}/newsletter.go (92%) diff --git a/src/domains/newletter/newsletter.go b/src/domains/newsletter/newsletter.go similarity index 92% rename from src/domains/newletter/newsletter.go rename to src/domains/newsletter/newsletter.go index 093ae75..16b1452 100644 --- a/src/domains/newletter/newsletter.go +++ b/src/domains/newsletter/newsletter.go @@ -1,4 +1,4 @@ -package newletter +package newsletter import "context" diff --git a/src/internal/rest/newsletter.go b/src/internal/rest/newsletter.go index bfb7507..0386e9f 100644 --- a/src/internal/rest/newsletter.go +++ b/src/internal/rest/newsletter.go @@ -1,7 +1,7 @@ package rest import ( - domainNewsletter "github.com/aldinokemal/go-whatsapp-web-multidevice/domains/newletter" + domainNewsletter "github.com/aldinokemal/go-whatsapp-web-multidevice/domains/newsletter" "github.com/aldinokemal/go-whatsapp-web-multidevice/pkg/utils" "github.com/gofiber/fiber/v2" ) diff --git a/src/services/newsletter.go b/src/services/newsletter.go index 2fb90ed..0afcf42 100644 --- a/src/services/newsletter.go +++ b/src/services/newsletter.go @@ -2,7 +2,7 @@ package services import ( "context" - domainNewsletter "github.com/aldinokemal/go-whatsapp-web-multidevice/domains/newletter" + domainNewsletter "github.com/aldinokemal/go-whatsapp-web-multidevice/domains/newsletter" "github.com/aldinokemal/go-whatsapp-web-multidevice/pkg/whatsapp" "github.com/aldinokemal/go-whatsapp-web-multidevice/validations" "go.mau.fi/whatsmeow" diff --git a/src/validations/newsletter_validation.go b/src/validations/newsletter_validation.go index da61da9..635d7c7 100644 --- a/src/validations/newsletter_validation.go +++ b/src/validations/newsletter_validation.go @@ -2,7 +2,7 @@ package validations import ( "context" - domainNewsletter "github.com/aldinokemal/go-whatsapp-web-multidevice/domains/newletter" + domainNewsletter "github.com/aldinokemal/go-whatsapp-web-multidevice/domains/newsletter" pkgError "github.com/aldinokemal/go-whatsapp-web-multidevice/pkg/error" validation "github.com/go-ozzo/ozzo-validation/v4" )