mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-07 11:27:50 +00:00
Unexport cmd.NewServeCmd
This commit is contained in:
parent
18fd2e14c5
commit
73a7588e1b
1 changed files with 3 additions and 3 deletions
|
|
@ -27,8 +27,8 @@ import (
|
|||
// Server is global so that tests can control and verify it.
|
||||
var Server *server.Command
|
||||
|
||||
// NewServeCmd creates a pilosa server and runs it with command line flags.
|
||||
func NewServeCmd(stdin io.Reader, stdout, stderr io.Writer) *cobra.Command {
|
||||
// newServeCmd creates a pilosa server and runs it with command line flags.
|
||||
func newServeCmd(stdin io.Reader, stdout, stderr io.Writer) *cobra.Command {
|
||||
Server = server.NewCommand(stdin, stdout, stderr)
|
||||
serveCmd := &cobra.Command{
|
||||
Use: "server",
|
||||
|
|
@ -52,5 +52,5 @@ on the configured port.`,
|
|||
}
|
||||
|
||||
func init() {
|
||||
subcommandFns["server"] = NewServeCmd
|
||||
subcommandFns["server"] = newServeCmd
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue