From c86758e998b5661925797463a5d367329bc79c57 Mon Sep 17 00:00:00 2001 From: Cody Soyland Date: Thu, 5 Jul 2018 21:57:54 -0500 Subject: [PATCH] Unexport cmd.NewImportCommand --- cmd/import.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/import.go b/cmd/import.go index 4d565adb7..7b4d00efd 100644 --- a/cmd/import.go +++ b/cmd/import.go @@ -25,8 +25,8 @@ import ( var Importer *ctl.ImportCommand -// NewImportCommand runs the Pilosa import subcommand for ingesting bulk data. -func NewImportCommand(stdin io.Reader, stdout, stderr io.Writer) *cobra.Command { +// newImportCommand runs the Pilosa import subcommand for ingesting bulk data. +func newImportCommand(stdin io.Reader, stdout, stderr io.Writer) *cobra.Command { Importer = ctl.NewImportCommand(stdin, stdout, stderr) importCmd := &cobra.Command{ Use: "import", @@ -67,5 +67,5 @@ omitted. If it is present then its format should be YYYY-MM-DDTHH:MM. } func init() { - subcommandFns["import"] = NewImportCommand + subcommandFns["import"] = newImportCommand }