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

View File

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

View File

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

View File

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