Skip to content

Commit

Permalink
Version information added
Browse files Browse the repository at this point in the history
  • Loading branch information
jijeshmohan committed Mar 19, 2015
1 parent 1a19179 commit d28190f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
)

func main() {
fmt.Println("Janus - fake rest api server")
fmt.Printf("Janus - fake rest api server (%s) \n", VERSION)
c := getConfig()

server.StartServer(c)
Expand Down
4 changes: 4 additions & 0 deletions version.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package main

// simple way of tracking version
const VERSION = "1.0.0"

0 comments on commit d28190f

Please sign in to comment.