From 5e4e681bbd1f827dedac1980e152be5cf5cb3237 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Thu, 7 Sep 2023 23:27:28 +0300 Subject: [PATCH] refactor: move config handler to internal --- cmd/root.go | 2 +- {config => internal/config}/viper.go | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename {config => internal/config}/viper.go (100%) diff --git a/cmd/root.go b/cmd/root.go index 4589207..f86511f 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -11,7 +11,7 @@ import ( // "github.com/gorilla/mux" // Import Gorilla Mux "github.com/prometheus/client_golang/prometheus/promhttp" - "goblin/config" + "goblin/internal/config" "goblin/internal/paste" // "goblin/internal/router" ) diff --git a/config/viper.go b/internal/config/viper.go similarity index 100% rename from config/viper.go rename to internal/config/viper.go