move logger to top level

This commit is contained in:
Sky Johnson 2025-06-05 20:26:09 -05:00
parent 60dd7ba82f
commit ddb1d7c9d7
13 changed files with 12 additions and 12 deletions

View File

@ -10,12 +10,12 @@ import (
"Moonshark/color"
"Moonshark/config"
"Moonshark/logger"
"Moonshark/metadata"
"Moonshark/router"
"Moonshark/runner"
"Moonshark/sessions"
"Moonshark/utils"
"Moonshark/utils/logger"
"github.com/valyala/fasthttp"
)

View File

@ -16,12 +16,12 @@ import (
"Moonshark/color"
"Moonshark/config"
"Moonshark/http"
"Moonshark/logger"
"Moonshark/metadata"
"Moonshark/router"
"Moonshark/runner"
"Moonshark/runner/lualibs"
"Moonshark/sessions"
"Moonshark/utils/logger"
"Moonshark/watchers"
fin "git.sharkk.net/Sharkk/Fin"

View File

@ -1,7 +1,7 @@
package runner
import (
"Moonshark/utils/logger"
"Moonshark/logger"
_ "embed"
luajit "git.sharkk.net/Sky/LuaJIT-to-Go"

View File

@ -1,7 +1,7 @@
package lualibs
import (
"Moonshark/utils/logger"
"Moonshark/logger"
"crypto/hmac"
"crypto/md5"
"crypto/rand"

View File

@ -11,7 +11,7 @@ import (
"sync"
"Moonshark/color"
"Moonshark/utils/logger"
"Moonshark/logger"
luajit "git.sharkk.net/Sky/LuaJIT-to-Go"
)

View File

@ -9,7 +9,7 @@ import (
"time"
"Moonshark/color"
"Moonshark/utils/logger"
"Moonshark/logger"
lru "git.sharkk.net/Go/LRU"
luajit "git.sharkk.net/Sky/LuaJIT-to-Go"

View File

@ -7,7 +7,7 @@ import (
"strings"
"sync"
"Moonshark/utils/logger"
"Moonshark/logger"
luajit "git.sharkk.net/Sky/LuaJIT-to-Go"
)

View File

@ -11,11 +11,11 @@ import (
"sync/atomic"
"time"
"Moonshark/logger"
"Moonshark/router"
"Moonshark/runner/lualibs"
"Moonshark/runner/sqlite"
"Moonshark/sessions"
"Moonshark/utils/logger"
luajit "git.sharkk.net/Sky/LuaJIT-to-Go"
"github.com/goccy/go-json"

View File

@ -12,7 +12,7 @@ import (
"zombiezen.com/go/sqlite/sqlitex"
"Moonshark/color"
"Moonshark/utils/logger"
"Moonshark/logger"
luajit "git.sharkk.net/Sky/LuaJIT-to-Go"
)

View File

@ -6,9 +6,9 @@ import (
"sync"
"Moonshark/color"
"Moonshark/logger"
"Moonshark/router"
"Moonshark/runner"
"Moonshark/utils/logger"
)
// Global watcher manager instance with explicit creation

View File

@ -7,7 +7,7 @@ import (
"sync"
"time"
"Moonshark/utils/logger"
"Moonshark/logger"
)
// Default debounce time between detected change and callback

View File

@ -5,7 +5,7 @@ import (
"sync"
"time"
"Moonshark/utils/logger"
"Moonshark/logger"
)
// DefaultPollInterval is the time between directory checks