From b925175bb7fc863ffb8ca5340ee96355567523e6 Mon Sep 17 00:00:00 2001 From: nclsbayona Date: Sun, 18 Aug 2024 21:13:18 -0500 Subject: [PATCH] refactor: Move go files --- {pkg => cmd}/adapters/commander/cli.go | 0 {pkg => cmd}/adapters/commander/config.go | 0 {pkg => cmd}/adapters/generator/html.go | 0 {pkg => cmd}/adapters/injector/yaml.go | 0 cmd/main.go | 6 +++--- 5 files changed, 3 insertions(+), 3 deletions(-) rename {pkg => cmd}/adapters/commander/cli.go (100%) rename {pkg => cmd}/adapters/commander/config.go (100%) rename {pkg => cmd}/adapters/generator/html.go (100%) rename {pkg => cmd}/adapters/injector/yaml.go (100%) diff --git a/pkg/adapters/commander/cli.go b/cmd/adapters/commander/cli.go similarity index 100% rename from pkg/adapters/commander/cli.go rename to cmd/adapters/commander/cli.go diff --git a/pkg/adapters/commander/config.go b/cmd/adapters/commander/config.go similarity index 100% rename from pkg/adapters/commander/config.go rename to cmd/adapters/commander/config.go diff --git a/pkg/adapters/generator/html.go b/cmd/adapters/generator/html.go similarity index 100% rename from pkg/adapters/generator/html.go rename to cmd/adapters/generator/html.go diff --git a/pkg/adapters/injector/yaml.go b/cmd/adapters/injector/yaml.go similarity index 100% rename from pkg/adapters/injector/yaml.go rename to cmd/adapters/injector/yaml.go diff --git a/cmd/main.go b/cmd/main.go index 05c1253..61fcf10 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -2,9 +2,9 @@ package main import ( "flag" - "github.com/nclsbayona/resume-generator/pkg/adapters/commander" - "github.com/nclsbayona/resume-generator/pkg/adapters/generator" - "github.com/nclsbayona/resume-generator/pkg/adapters/injector" + "github.com/nclsbayona/resume-generator/cmd/adapters/commander" + "github.com/nclsbayona/resume-generator/cmd/adapters/generator" + "github.com/nclsbayona/resume-generator/cmd/adapters/injector" "github.com/nclsbayona/resume-generator/pkg/core/domain" "github.com/nclsbayona/resume-generator/pkg/core/ports" "os"