GoTomato/internal/metadata/version.go
Sebastian Mark cbe2e007de break: drop "v" from version string const
- removes "v" from the ProtocolVersion in the ServerMessage
- remove "v" prefix from GoTomatoVersion constant
- re-add "v" for for human readable output (`-version`)
- update README
2024-11-06 20:50:49 +01:00

6 lines
206 B
Go

package metadata
import "strings"
const GoTomatoVersion = "0.0.8" // The GoTomato version
var ProtocolVersion = strings.Split(GoTomatoVersion, ".")[0] // The protocol version