ledisdb/cmd/ledis-server/main.go

25 lines
280 B
Go
Raw Normal View History

2014-05-05 07:37:44 +04:00
package main
import (
"fmt"
_ "net/http/pprof"
"github.com/ledisdb/ledisdb/cmd"
2014-05-05 07:37:44 +04:00
)
var (
version = "dev"
buildTag string
)
2014-05-05 07:37:44 +04:00
func main() {
fmt.Printf("Version %s", version)
if len(buildTag) > 0 {
fmt.Printf(" with tag %s", buildTag)
}
fmt.Println()
cmd.Server()
2014-05-05 07:37:44 +04:00
}