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"
"time"
"Moonshark/core/routers"
"Moonshark/core/runner"
"Moonshark/core/sessions"
"Moonshark/core/utils"
"Moonshark/core/utils/config"
"Moonshark/core/utils/logger"
"Moonshark/core/utils/metadata"
"Moonshark/routers"
"Moonshark/runner"
"Moonshark/sessions"
"Moonshark/utils"
"Moonshark/utils/config"
"Moonshark/utils/logger"
"Moonshark/utils/metadata"
"github.com/valyala/fasthttp"
)

View File

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

14
main.go
View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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