From 40dd151c1a3967c0a7124f578bf1d58eb36f5697 Mon Sep 17 00:00:00 2001 From: Tsukasa Nishiyama Date: Fri, 20 Oct 2023 08:22:22 +0900 Subject: [PATCH] change directory structure --- cmd/sabadashi/main.go | 2 +- {internal => cmd}/subcommand/cli_host.go | 0 {internal => cmd}/subcommand/cli_service.go | 0 {internal => cmd}/subcommand/cmd_host.go | 0 {internal => cmd}/subcommand/cmd_service.go | 0 {internal => cmd}/subcommand/subcommands.go | 0 6 files changed, 1 insertion(+), 1 deletion(-) rename {internal => cmd}/subcommand/cli_host.go (100%) rename {internal => cmd}/subcommand/cli_service.go (100%) rename {internal => cmd}/subcommand/cmd_host.go (100%) rename {internal => cmd}/subcommand/cmd_service.go (100%) rename {internal => cmd}/subcommand/subcommands.go (100%) diff --git a/cmd/sabadashi/main.go b/cmd/sabadashi/main.go index eae832f..d1b7103 100644 --- a/cmd/sabadashi/main.go +++ b/cmd/sabadashi/main.go @@ -9,7 +9,7 @@ import ( "github.com/urfave/cli/v2" - "github.com/tukaelu/sabadashi/internal/subcommand" + "github.com/tukaelu/sabadashi/cmd/subcommand" ) var version string diff --git a/internal/subcommand/cli_host.go b/cmd/subcommand/cli_host.go similarity index 100% rename from internal/subcommand/cli_host.go rename to cmd/subcommand/cli_host.go diff --git a/internal/subcommand/cli_service.go b/cmd/subcommand/cli_service.go similarity index 100% rename from internal/subcommand/cli_service.go rename to cmd/subcommand/cli_service.go diff --git a/internal/subcommand/cmd_host.go b/cmd/subcommand/cmd_host.go similarity index 100% rename from internal/subcommand/cmd_host.go rename to cmd/subcommand/cmd_host.go diff --git a/internal/subcommand/cmd_service.go b/cmd/subcommand/cmd_service.go similarity index 100% rename from internal/subcommand/cmd_service.go rename to cmd/subcommand/cmd_service.go diff --git a/internal/subcommand/subcommands.go b/cmd/subcommand/subcommands.go similarity index 100% rename from internal/subcommand/subcommands.go rename to cmd/subcommand/subcommands.go