Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CSVDelimiter rune CSVTrimLeadingSpace bool CSVComment rune CSVNoHeader bool ErrDelimiterTooLong = fmt.Errorf("delimiter should be one character") ErrCommentTooLong = fmt.Errorf("comment should be one character") )
View Source
var ( ErrNotAllDocsProcessed = fmt.Errorf("not all documents processed") BatchSize int32 = 100 )
Functions ¶
func CSVConfigure ¶
func Input ¶
func Input(ctx context.Context, cmd *cobra.Command, docsPosition int, args []string, fn func(ctx2 context.Context, args []string, docs []json.RawMessage) error, ) error
Input reads repeated command parameters from standard input or args. Supports newline delimited stream of objects and arrays of objects.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.