From 3e545deb4453063a83dd9d146ec4b40cf8e7803f Mon Sep 17 00:00:00 2001 From: Cyrille Nofficial Date: Mon, 18 Apr 2022 23:02:11 +0200 Subject: [PATCH] refactor: move packages to 'pkg' directory --- cmd/domogeek/domogeek.go | 2 +- {calendar => pkg/calendar}/calendar.go | 0 {calendar => pkg/calendar}/calendar_test.go | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename {calendar => pkg/calendar}/calendar.go (100%) rename {calendar => pkg/calendar}/calendar_test.go (100%) diff --git a/cmd/domogeek/domogeek.go b/cmd/domogeek/domogeek.go index 0361c6b..503c8d8 100644 --- a/cmd/domogeek/domogeek.go +++ b/cmd/domogeek/domogeek.go @@ -2,7 +2,7 @@ package main import ( "context" - "domogeek/calendar" + "domogeek/pkg/calendar" "encoding/json" "flag" "fmt" diff --git a/calendar/calendar.go b/pkg/calendar/calendar.go similarity index 100% rename from calendar/calendar.go rename to pkg/calendar/calendar.go diff --git a/calendar/calendar_test.go b/pkg/calendar/calendar_test.go similarity index 100% rename from calendar/calendar_test.go rename to pkg/calendar/calendar_test.go