1
0
mirror of https://github.com/axllent/mailpit.git synced 2025-08-15 20:13:16 +02:00

Move utils to subfolder

This commit is contained in:
Ralph Slooten
2022-10-29 10:52:22 +13:00
parent 7a27e09d23
commit ab771cf76c
15 changed files with 12 additions and 12 deletions

View File

@@ -6,10 +6,10 @@ import (
"strconv" "strconv"
"github.com/axllent/mailpit/config" "github.com/axllent/mailpit/config"
"github.com/axllent/mailpit/logger"
"github.com/axllent/mailpit/server" "github.com/axllent/mailpit/server"
"github.com/axllent/mailpit/smtpd" "github.com/axllent/mailpit/smtpd"
"github.com/axllent/mailpit/storage" "github.com/axllent/mailpit/storage"
"github.com/axllent/mailpit/utils/logger"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

View File

@@ -6,7 +6,7 @@ import (
"runtime" "runtime"
"github.com/axllent/mailpit/config" "github.com/axllent/mailpit/config"
"github.com/axllent/mailpit/updater" "github.com/axllent/mailpit/utils/updater"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

View File

@@ -13,7 +13,7 @@ import (
"os" "os"
"os/user" "os/user"
"github.com/axllent/mailpit/logger" "github.com/axllent/mailpit/utils/logger"
flag "github.com/spf13/pflag" flag "github.com/spf13/pflag"
) )

View File

@@ -8,7 +8,7 @@ import (
"github.com/axllent/mailpit/config" "github.com/axllent/mailpit/config"
"github.com/axllent/mailpit/storage" "github.com/axllent/mailpit/storage"
"github.com/axllent/mailpit/updater" "github.com/axllent/mailpit/utils/updater"
) )
type appVersion struct { type appVersion struct {

View File

@@ -10,8 +10,8 @@ import (
"net/http" "net/http"
"strings" "strings"
"github.com/axllent/mailpit/logger"
"github.com/axllent/mailpit/storage" "github.com/axllent/mailpit/storage"
"github.com/axllent/mailpit/utils/logger"
"github.com/disintegration/imaging" "github.com/disintegration/imaging"
"github.com/gorilla/mux" "github.com/gorilla/mux"
"github.com/jhillyerd/enmime" "github.com/jhillyerd/enmime"

View File

@@ -10,9 +10,9 @@ import (
"strings" "strings"
"github.com/axllent/mailpit/config" "github.com/axllent/mailpit/config"
"github.com/axllent/mailpit/logger"
"github.com/axllent/mailpit/server/apiv1" "github.com/axllent/mailpit/server/apiv1"
"github.com/axllent/mailpit/server/websockets" "github.com/axllent/mailpit/server/websockets"
"github.com/axllent/mailpit/utils/logger"
"github.com/gorilla/mux" "github.com/gorilla/mux"
) )

View File

@@ -9,7 +9,7 @@ import (
"time" "time"
"github.com/axllent/mailpit/config" "github.com/axllent/mailpit/config"
"github.com/axllent/mailpit/logger" "github.com/axllent/mailpit/utils/logger"
"github.com/gorilla/websocket" "github.com/gorilla/websocket"
) )

View File

@@ -7,7 +7,7 @@ package websockets
import ( import (
"encoding/json" "encoding/json"
"github.com/axllent/mailpit/logger" "github.com/axllent/mailpit/utils/logger"
) )
// Hub maintains the set of active clients and broadcasts messages to the // Hub maintains the set of active clients and broadcasts messages to the

View File

@@ -7,8 +7,8 @@ import (
"regexp" "regexp"
"github.com/axllent/mailpit/config" "github.com/axllent/mailpit/config"
"github.com/axllent/mailpit/logger"
"github.com/axllent/mailpit/storage" "github.com/axllent/mailpit/storage"
"github.com/axllent/mailpit/utils/logger"
"github.com/mhale/smtpd" "github.com/mhale/smtpd"
) )

View File

@@ -20,8 +20,8 @@ import (
"github.com/GuiaBolso/darwin" "github.com/GuiaBolso/darwin"
"github.com/axllent/mailpit/config" "github.com/axllent/mailpit/config"
"github.com/axllent/mailpit/logger"
"github.com/axllent/mailpit/server/websockets" "github.com/axllent/mailpit/server/websockets"
"github.com/axllent/mailpit/utils/logger"
"github.com/jhillyerd/enmime" "github.com/jhillyerd/enmime"
"github.com/klauspost/compress/zstd" "github.com/klauspost/compress/zstd"
"github.com/leporo/sqlf" "github.com/leporo/sqlf"

View File

@@ -10,8 +10,8 @@ import (
"time" "time"
"github.com/axllent/mailpit/config" "github.com/axllent/mailpit/config"
"github.com/axllent/mailpit/logger"
"github.com/axllent/mailpit/server/websockets" "github.com/axllent/mailpit/server/websockets"
"github.com/axllent/mailpit/utils/logger"
"github.com/jhillyerd/enmime" "github.com/jhillyerd/enmime"
"github.com/k3a/html2text" "github.com/k3a/html2text"
"github.com/leporo/sqlf" "github.com/leporo/sqlf"

View File

@@ -13,7 +13,7 @@ import (
"path/filepath" "path/filepath"
"runtime" "runtime"
"github.com/axllent/mailpit/logger" "github.com/axllent/mailpit/utils/logger"
"github.com/axllent/semver" "github.com/axllent/semver"
) )