package metadata import ( "os" "strings" ) func getVersion() string { content, _ := os.ReadFile("version.txt") version := strings.TrimSpace(string(content)) return version } var GoTomatoVersion = getVersion() // The GoTomato version var ProtocolVersion = strings.Split(GoTomatoVersion, ".")[0] // The protocol version