GoTomato/internal/metadata/version.go
Sebastian Mark 1a47c0607b feat: update protocol version handling
- add ProtocolVersion variable to metadata package
- don't set `ServerMessage.ProtocolVersion` in `main`
- update `ServerMessage` default to include ProtocolVersion

🤖
2024-10-27 22:46:58 +01:00

6 lines
154 B
Go

package metadata
import "strings"
const GoTomatoVersion = "v0.0.3" // The GoTomato Version
var ProtocolVersion = strings.Split(GoTomatoVersion, ".")[0]