Skip to content
This repository was archived by the owner on Mar 24, 2018. It is now read-only.

Commit 4e47c40

Browse files
committed
added version
1 parent 7def0c4 commit 4e47c40

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

main.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import (
1212
"github.com/gorilla/rpc"
1313
rpcJson "github.com/gorilla/rpc/json"
1414

15+
"github.com/dertseha/everoute"
1516
"github.com/dertseha/everoute/travel/capabilities/jumpdrive"
1617
"github.com/dertseha/everoute/travel/capabilities/jumpgate"
1718
"github.com/dertseha/everoute/travel/rules/security"
@@ -165,8 +166,9 @@ func initRuntime() {
165166
}
166167

167168
func main() {
168-
initRuntime()
169+
log.Printf("everoute-web v%v using everoute v%v", Version, everoute.Version)
169170

171+
initRuntime()
170172
log.Printf("Building universe...")
171173
universeBuilder := prepareUniverse()
172174
universe := universeBuilder.Build()

version.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
package main
2+
3+
// Version identifies the version of the library, following SemVer format (www.semver.org)
4+
const Version = "0.1.0"

0 commit comments

Comments
 (0)