constants: Make SEM_VER the actual version number conforming to Semantec Versioning, and VER the composed number

This commit is contained in:
Daniel Oaks 2016-06-30 17:42:24 +10:00
parent 748bc759cb
commit 1d51bb450a
2 changed files with 10 additions and 4 deletions

View file

@ -5,8 +5,14 @@
package irc
import "fmt"
const (
SEM_VER = "oragono-0.1.0-unreleased"
SEM_VER = "0.1.0-unreleased"
CRLF = "\r\n"
MAX_REPLY_LEN = 512 - len(CRLF)
)
var (
VER = fmt.Sprintf("oragono-%s", SEM_VER)
)