From a5b3fb2a6ae093b4c8ad8436c95b47d5449c089c Mon Sep 17 00:00:00 2001 From: boojack Date: Sat, 26 Aug 2023 23:13:03 +0800 Subject: [PATCH] chore: move cron package to internal (#2180) --- {plugin => internal}/cron/cron.go | 0 {plugin => internal}/cron/cron_test.go | 0 {plugin => internal}/cron/schedule.go | 0 {plugin => internal}/cron/schedule_test.go | 2 +- 4 files changed, 1 insertion(+), 1 deletion(-) rename {plugin => internal}/cron/cron.go (100%) rename {plugin => internal}/cron/cron_test.go (100%) rename {plugin => internal}/cron/schedule.go (100%) rename {plugin => internal}/cron/schedule_test.go (99%) diff --git a/plugin/cron/cron.go b/internal/cron/cron.go similarity index 100% rename from plugin/cron/cron.go rename to internal/cron/cron.go diff --git a/plugin/cron/cron_test.go b/internal/cron/cron_test.go similarity index 100% rename from plugin/cron/cron_test.go rename to internal/cron/cron_test.go diff --git a/plugin/cron/schedule.go b/internal/cron/schedule.go similarity index 100% rename from plugin/cron/schedule.go rename to internal/cron/schedule.go diff --git a/plugin/cron/schedule_test.go b/internal/cron/schedule_test.go similarity index 99% rename from plugin/cron/schedule_test.go rename to internal/cron/schedule_test.go index cde21fba..01048051 100644 --- a/plugin/cron/schedule_test.go +++ b/internal/cron/schedule_test.go @@ -5,7 +5,7 @@ import ( "testing" "time" - "github.com/usememos/memos/plugin/cron" + "github.com/usememos/memos/internal/cron" ) func TestNewMoment(t *testing.T) {