remove core dir

This commit is contained in:
Sky Johnson 2025-05-10 13:02:09 -05:00
parent 7fde7d495b
commit c754877f7d
39 changed files with 30 additions and 30 deletions

View File

@ -4,13 +4,13 @@ import (
"context" "context"
"time" "time"
"Moonshark/core/routers" "Moonshark/routers"
"Moonshark/core/runner" "Moonshark/runner"
"Moonshark/core/sessions" "Moonshark/sessions"
"Moonshark/core/utils" "Moonshark/utils"
"Moonshark/core/utils/config" "Moonshark/utils/config"
"Moonshark/core/utils/logger" "Moonshark/utils/logger"
"Moonshark/core/utils/metadata" "Moonshark/utils/metadata"
"github.com/valyala/fasthttp" "github.com/valyala/fasthttp"
) )

View File

@ -8,7 +8,7 @@ import (
"strings" "strings"
"time" "time"
"Moonshark/core/utils/logger" "Moonshark/utils/logger"
"github.com/valyala/fasthttp" "github.com/valyala/fasthttp"
) )

14
main.go
View File

@ -11,13 +11,13 @@ import (
"syscall" "syscall"
"time" "time"
"Moonshark/core/http" "Moonshark/http"
"Moonshark/core/routers" "Moonshark/routers"
"Moonshark/core/runner" "Moonshark/runner"
"Moonshark/core/sessions" "Moonshark/sessions"
"Moonshark/core/utils/config" "Moonshark/utils/config"
"Moonshark/core/utils/logger" "Moonshark/utils/logger"
"Moonshark/core/watchers" "Moonshark/watchers"
) )
// Moonshark represents the server and all its dependencies // Moonshark represents the server and all its dependencies

View File

@ -8,7 +8,7 @@ import (
"strings" "strings"
"time" "time"
"Moonshark/core/utils/logger" "Moonshark/utils/logger"
"github.com/valyala/fasthttp" "github.com/valyala/fasthttp"
) )

View File

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

View File

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

View File

@ -14,7 +14,7 @@ import (
"github.com/valyala/bytebufferpool" "github.com/valyala/bytebufferpool"
"github.com/valyala/fasthttp" "github.com/valyala/fasthttp"
"Moonshark/core/utils/logger" "Moonshark/utils/logger"
luajit "git.sharkk.net/Sky/LuaJIT-to-Go" luajit "git.sharkk.net/Sky/LuaJIT-to-Go"
) )

View File

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

View File

@ -1,7 +1,7 @@
package runner package runner
import ( import (
"Moonshark/core/utils/logger" "Moonshark/utils/logger"
"context" "context"
"errors" "errors"
"fmt" "fmt"

View File

@ -7,7 +7,7 @@ import (
"github.com/goccy/go-json" "github.com/goccy/go-json"
"github.com/valyala/fasthttp" "github.com/valyala/fasthttp"
"Moonshark/core/utils/logger" "Moonshark/utils/logger"
"maps" "maps"

View File

@ -11,7 +11,7 @@ import (
sqlite "zombiezen.com/go/sqlite" sqlite "zombiezen.com/go/sqlite"
"zombiezen.com/go/sqlite/sqlitex" "zombiezen.com/go/sqlite/sqlitex"
"Moonshark/core/utils/logger" "Moonshark/utils/logger"
"maps" "maps"

View File

@ -7,8 +7,8 @@ import (
"strings" "strings"
"time" "time"
"Moonshark/core/utils/config" "Moonshark/utils/config"
"Moonshark/core/utils/metadata" "Moonshark/utils/metadata"
) )
// ComponentStats holds stats from various system components // ComponentStats holds stats from various system components

View File

@ -4,9 +4,9 @@ import (
"fmt" "fmt"
"sync" "sync"
"Moonshark/core/routers" "Moonshark/routers"
"Moonshark/core/runner" "Moonshark/runner"
"Moonshark/core/utils/logger" "Moonshark/utils/logger"
) )
// Global watcher manager instance with explicit creation // Global watcher manager instance with explicit creation

View File

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

View File

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