ledisdb/cmd/ledis-server/main.go

25 lines
280 B
Go

package main
import (
"fmt"
_ "net/http/pprof"
"github.com/ledisdb/ledisdb/cmd"
)
var (
version = "dev"
buildTag string
)
func main() {
fmt.Printf("Version %s", version)
if len(buildTag) > 0 {
fmt.Printf(" with tag %s", buildTag)
}
fmt.Println()
cmd.Server()
}