feat(sunsonic): expose type serverVersion in subsonic responses
https://opensubsonic.netlify.app/docs/responses/subsonic-response/ https://github.com/opensubsonic/open-subsonic-api/discussions/3
This commit is contained in:
@@ -3,13 +3,12 @@ package gonic
|
||||
|
||||
import (
|
||||
_ "embed"
|
||||
"fmt"
|
||||
"strings"
|
||||
)
|
||||
|
||||
//go:embed version.txt
|
||||
var version string
|
||||
var Version = fmt.Sprintf("v%s", strings.TrimSpace(version))
|
||||
var Version = strings.TrimSpace(version)
|
||||
|
||||
const Name = "gonic"
|
||||
const NameUpper = "GONIC"
|
||||
|
||||
Reference in New Issue
Block a user