move metadata to top level

This commit is contained in:
Sky Johnson 2025-06-05 20:23:07 -05:00
parent bca4eef166
commit db8416778f
4 changed files with 3 additions and 5 deletions

View File

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

View File

@ -1,9 +1,7 @@
package metadata package metadata
// Version holds the current Moonshark version
const Version = "1.0" const Version = "1.0"
// Build time information
var ( var (
BuildTime = "unknown" BuildTime = "unknown"
GitCommit = "unknown" GitCommit = "unknown"

View File

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

View File

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