mirror of
https://github.com/InazumaV/Ratte.git
synced 2026-02-04 04:30:09 +00:00
fix deps
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
package acme
|
package acme
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"Ratte/conf"
|
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"github.com/InazumaV/Ratte/conf"
|
||||||
"path"
|
"path"
|
||||||
|
|
||||||
"github.com/go-acme/lego/v4/certcrypto"
|
"github.com/go-acme/lego/v4/certcrypto"
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
package acme
|
package acme
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"Ratte/common/file"
|
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"github.com/InazumaV/Ratte/common/file"
|
||||||
"github.com/go-acme/lego/v4/certcrypto"
|
"github.com/go-acme/lego/v4/certcrypto"
|
||||||
"github.com/go-acme/lego/v4/certificate"
|
"github.com/go-acme/lego/v4/certificate"
|
||||||
"github.com/go-acme/lego/v4/challenge/http01"
|
"github.com/go-acme/lego/v4/challenge/http01"
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
package acme
|
package acme
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"Ratte/common/file"
|
|
||||||
"crypto"
|
"crypto"
|
||||||
"crypto/ecdsa"
|
"crypto/ecdsa"
|
||||||
"crypto/elliptic"
|
"crypto/elliptic"
|
||||||
@@ -9,6 +8,7 @@ import (
|
|||||||
"crypto/x509"
|
"crypto/x509"
|
||||||
"encoding/pem"
|
"encoding/pem"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"github.com/InazumaV/Ratte/common/file"
|
||||||
"github.com/go-acme/lego/v4/lego"
|
"github.com/go-acme/lego/v4/lego"
|
||||||
"github.com/go-acme/lego/v4/registration"
|
"github.com/go-acme/lego/v4/registration"
|
||||||
"github.com/goccy/go-json"
|
"github.com/goccy/go-json"
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"Ratte/acme"
|
|
||||||
"Ratte/conf"
|
|
||||||
"Ratte/handler"
|
|
||||||
"Ratte/trigger"
|
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/InazumaV/Ratte-Interface/core"
|
"github.com/InazumaV/Ratte-Interface/core"
|
||||||
"github.com/InazumaV/Ratte-Interface/panel"
|
"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"
|
log "github.com/sirupsen/logrus"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
"os"
|
"os"
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
package conf
|
package conf
|
||||||
|
|
||||||
import (
|
import (
|
||||||
trim "Ratte/common/json"
|
|
||||||
"Ratte/common/watcher"
|
|
||||||
"fmt"
|
"fmt"
|
||||||
|
trim "github.com/InazumaV/Ratte/common/json"
|
||||||
|
"github.com/InazumaV/Ratte/common/watcher"
|
||||||
"net/http"
|
"net/http"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
package conf
|
package conf
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"Ratte/common/watcher"
|
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"github.com/InazumaV/Ratte/common/watcher"
|
||||||
log "github.com/sirupsen/logrus"
|
log "github.com/sirupsen/logrus"
|
||||||
"path"
|
"path"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
package handler
|
package handler
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"Ratte/acme"
|
"github.com/InazumaV/Ratte/acme"
|
||||||
"Ratte/conf"
|
"github.com/InazumaV/Ratte/conf"
|
||||||
"github.com/sirupsen/logrus"
|
"github.com/sirupsen/logrus"
|
||||||
"sync/atomic"
|
"sync/atomic"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
package handler
|
package handler
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"Ratte/common/slices"
|
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/InazumaV/Ratte-Interface/core"
|
"github.com/InazumaV/Ratte-Interface/core"
|
||||||
"github.com/InazumaV/Ratte-Interface/panel"
|
"github.com/InazumaV/Ratte-Interface/panel"
|
||||||
|
"github.com/InazumaV/Ratte/common/slices"
|
||||||
)
|
)
|
||||||
|
|
||||||
func compareUserList(old, new []panel.UserInfo) (deleted []string, added []panel.UserInfo) {
|
func compareUserList(old, new []panel.UserInfo) (deleted []string, added []panel.UserInfo) {
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
package trigger
|
package trigger
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"Ratte/conf"
|
|
||||||
"Ratte/handler"
|
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/InazumaV/Ratte-Interface/panel"
|
"github.com/InazumaV/Ratte-Interface/panel"
|
||||||
|
"github.com/InazumaV/Ratte/conf"
|
||||||
|
"github.com/InazumaV/Ratte/handler"
|
||||||
cmap "github.com/orcaman/concurrent-map/v2"
|
cmap "github.com/orcaman/concurrent-map/v2"
|
||||||
"github.com/robfig/cron/v3"
|
"github.com/robfig/cron/v3"
|
||||||
"github.com/sirupsen/logrus"
|
"github.com/sirupsen/logrus"
|
||||||
|
|||||||
Reference in New Issue
Block a user