Files
MuyueWorkspace/internal/version/version.go
Augustin 3f4432d88a
All checks were successful
Stable Release / stable (push) Successful in 1m58s
fix(ui): add missing copiedMsg state, remove dead code, bump v0.9.3
The copiedMsg state was referenced in the Copy MD button but never declared,
causing a ReferenceError crash at runtime. Also removed unused compress
logic (collapseHistory/forceExpand), dead functions (renderContent, formatText,
CodeBlockWithCopy, MermaidBlock), and unused imports (useMemo, mermaid).

🤗 Generated with Crush

Assisted-by: GLM-5.1 via Crush <crush@charm.land>
2026-04-28 14:51:01 +02:00

34 lines
670 B
Go

package version
import (
"fmt"
"runtime"
)
const (
Name = "muyue"
Version = "0.9.3"
Author = "La Légion de Muyue"
)
var (
// BuildDate is set at build time
BuildDate = ""
)
func FullVersion() string {
return Name + " v" + Version
}
// FullInfo returns full version information.
func FullInfo() string {
info := fmt.Sprintf("%-12s %s\n", "Version:", Version)
info += fmt.Sprintf("%-12s %s\n", "Author:", Author)
info += fmt.Sprintf("%-12s %s\n", "Go:", runtime.Version())
info += fmt.Sprintf("%-12s %s\n", "Platform:", runtime.GOOS+"/"+runtime.GOARCH)
if BuildDate != "" {
info += fmt.Sprintf("%-12s %s\n", "Build:", BuildDate)
}
return info
}