mirror of
https://github.com/schollz/cowyo.git
synced 2023-08-10 21:13:00 +03:00
Print server version on startup
This commit is contained in:
parent
25d99852c0
commit
4717d5d066
130
bindata.go
130
bindata.go
File diff suppressed because one or more lines are too long
2
main.go
2
main.go
@ -23,7 +23,7 @@ func main() {
|
||||
}
|
||||
pathToData = c.GlobalString("data")
|
||||
os.MkdirAll(pathToData, 0755)
|
||||
fmt.Printf("\nRunning CowYo at http://%s:%s\n\n", GetLocalIP(), c.GlobalString("port"))
|
||||
fmt.Printf("\nRunning cowyo server (version %s) at http://%s:%s\n\n", version, GetLocalIP(), c.GlobalString("port"))
|
||||
serve(c.GlobalString("port"))
|
||||
return nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user