feat: update protocol version handling
- add ProtocolVersion variable to metadata package
- don't set `ServerMessage.ProtocolVersion` in `main`
- update `ServerMessage` default to include ProtocolVersion
🤖
This commit is contained in:
parent
f8ab1375d1
commit
f0d7dc80fc
3 changed files with 12 additions and 9 deletions
|
@ -1,3 +1,6 @@
|
|||
package metadata
|
||||
|
||||
import "strings"
|
||||
|
||||
const GoTomatoVersion = "v0.0.4" // The GoTomato Version
|
||||
var ProtocolVersion = strings.Split(GoTomatoVersion, ".")[0]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue