1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-12-29 13:35:20 -05:00

Print release date in version command

This commit is contained in:
V2Ray
2015-09-29 11:52:34 +02:00
parent 28f87f2fae
commit c097e6a3c6
4 changed files with 29 additions and 5 deletions

14
core.go
View File

@@ -1,8 +1,20 @@
// Package core provides common definitions and functionalities of V2Ray.
package core
var (
version = "0.6.2"
build = "Custom"
)
const (
Version = "0.6"
Codename = "Post Apocalypse"
Intro = "A stable and unbreakable connection for everyone."
)
func Version() string {
return version
}
func Build() string {
return build
}