From 68519193ec502e123399e42613f1793f984fa0b7 Mon Sep 17 00:00:00 2001 From: Yuzuki616 Date: Tue, 17 Dec 2024 07:18:10 +0900 Subject: [PATCH] fix deps --- acme/acme.go | 2 +- acme/cert.go | 2 +- acme/user.go | 2 +- cmd/ratte/run.go | 8 ++++---- conf/conf.go | 4 ++-- conf/watcher.go | 2 +- handler/handler.go | 4 ++-- handler/user.go | 2 +- trigger/trigger.go | 4 ++-- 9 files changed, 15 insertions(+), 15 deletions(-) diff --git a/acme/acme.go b/acme/acme.go index 9817b5b..02e91df 100644 --- a/acme/acme.go +++ b/acme/acme.go @@ -1,8 +1,8 @@ package acme import ( - "Ratte/conf" "fmt" + "github.com/InazumaV/Ratte/conf" "path" "github.com/go-acme/lego/v4/certcrypto" diff --git a/acme/cert.go b/acme/cert.go index 0d62921..77178e7 100644 --- a/acme/cert.go +++ b/acme/cert.go @@ -1,8 +1,8 @@ package acme import ( - "Ratte/common/file" "fmt" + "github.com/InazumaV/Ratte/common/file" "github.com/go-acme/lego/v4/certcrypto" "github.com/go-acme/lego/v4/certificate" "github.com/go-acme/lego/v4/challenge/http01" diff --git a/acme/user.go b/acme/user.go index 23ed9bf..0e5ef47 100644 --- a/acme/user.go +++ b/acme/user.go @@ -1,7 +1,6 @@ package acme import ( - "Ratte/common/file" "crypto" "crypto/ecdsa" "crypto/elliptic" @@ -9,6 +8,7 @@ import ( "crypto/x509" "encoding/pem" "fmt" + "github.com/InazumaV/Ratte/common/file" "github.com/go-acme/lego/v4/lego" "github.com/go-acme/lego/v4/registration" "github.com/goccy/go-json" diff --git a/cmd/ratte/run.go b/cmd/ratte/run.go index 72f2219..7b348a2 100644 --- a/cmd/ratte/run.go +++ b/cmd/ratte/run.go @@ -1,13 +1,13 @@ package main import ( - "Ratte/acme" - "Ratte/conf" - "Ratte/handler" - "Ratte/trigger" "fmt" "github.com/InazumaV/Ratte-Interface/core" "github.com/InazumaV/Ratte-Interface/panel" + "github.com/InazumaV/Ratte/acme" + "github.com/InazumaV/Ratte/conf" + "github.com/InazumaV/Ratte/handler" + "github.com/InazumaV/Ratte/trigger" log "github.com/sirupsen/logrus" "github.com/spf13/cobra" "os" diff --git a/conf/conf.go b/conf/conf.go index 6c45115..813f537 100644 --- a/conf/conf.go +++ b/conf/conf.go @@ -1,9 +1,9 @@ package conf import ( - trim "Ratte/common/json" - "Ratte/common/watcher" "fmt" + trim "github.com/InazumaV/Ratte/common/json" + "github.com/InazumaV/Ratte/common/watcher" "net/http" "os" diff --git a/conf/watcher.go b/conf/watcher.go index 8bb770e..132ff77 100644 --- a/conf/watcher.go +++ b/conf/watcher.go @@ -1,9 +1,9 @@ package conf import ( - "Ratte/common/watcher" "errors" "fmt" + "github.com/InazumaV/Ratte/common/watcher" log "github.com/sirupsen/logrus" "path" ) diff --git a/handler/handler.go b/handler/handler.go index 736f9dd..831843b 100644 --- a/handler/handler.go +++ b/handler/handler.go @@ -1,8 +1,8 @@ package handler import ( - "Ratte/acme" - "Ratte/conf" + "github.com/InazumaV/Ratte/acme" + "github.com/InazumaV/Ratte/conf" "github.com/sirupsen/logrus" "sync/atomic" ) diff --git a/handler/user.go b/handler/user.go index ca1d23e..fae839c 100644 --- a/handler/user.go +++ b/handler/user.go @@ -1,10 +1,10 @@ package handler import ( - "Ratte/common/slices" "fmt" "github.com/InazumaV/Ratte-Interface/core" "github.com/InazumaV/Ratte-Interface/panel" + "github.com/InazumaV/Ratte/common/slices" ) func compareUserList(old, new []panel.UserInfo) (deleted []string, added []panel.UserInfo) { diff --git a/trigger/trigger.go b/trigger/trigger.go index f85e2e2..9e92e9c 100644 --- a/trigger/trigger.go +++ b/trigger/trigger.go @@ -1,10 +1,10 @@ package trigger import ( - "Ratte/conf" - "Ratte/handler" "fmt" "github.com/InazumaV/Ratte-Interface/panel" + "github.com/InazumaV/Ratte/conf" + "github.com/InazumaV/Ratte/handler" cmap "github.com/orcaman/concurrent-map/v2" "github.com/robfig/cron/v3" "github.com/sirupsen/logrus"