{"modulePath":"github.com/PhilipKram/gitlab-cli","version":"v0.7.2","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package tableprinter\n\n## Types\n\n```go\ntype StreamingTablePrinter struct {\n\t// contains filtered or unexported fields\n}\n```\nStreamingTablePrinter formats data as aligned columns with progressive output. Unlike TablePrinter, it outputs rows incrementally after determining column widths from an initial sample of rows.\n\n```go\nfunc NewStreaming(out io.Writer) *StreamingTablePrinter\n```\nNewStreaming creates a new StreamingTablePrinter with default sample size.\n\n```go\nfunc NewStreamingWithSample(out io.Writer, sampleSize int) *StreamingTablePrinter\n```\nNewStreamingWithSample creates a new StreamingTablePrinter with custom sample size.\n\n```go\nfunc (s *StreamingTablePrinter) AddRow(fields ...string) error\n```\nAddRow adds a row of fields to the table and outputs it (after sampling).\n\n```go\nfunc (s *StreamingTablePrinter) Flush() error\n```\nFlush ensures any remaining buffered rows are output. Call this after adding all rows to ensure everything is written.\n\n```go\ntype TablePrinter struct {\n\t// contains filtered or unexported fields\n}\n```\nTablePrinter formats data as aligned columns.\n\n```go\nfunc New(out io.Writer) *TablePrinter\n```\nNew creates a new TablePrinter.\n\n```go\nfunc (t *TablePrinter) AddRow(fields ...string)\n```\nAddRow adds a row of fields to the table.\n\n```go\nfunc (t *TablePrinter) Render() error\n```\nRender outputs the formatted table.\n\n","path":"github.com/PhilipKram/gitlab-cli/internal/tableprinter","name":"tableprinter","synopsis":"","isRedistributable":true}
