Skip to content

#37: add tab output format: --out-format=tab #62

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 2, 2018

Conversation

jirfag
Copy link
Contributor

@jirfag jirfag commented Jun 2, 2018

No description provided.

@@ -0,0 +1,61 @@
package printers
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should have a package comment, unless it's in another file for this package


func (p *Tab) Print(ctx context.Context, issues <-chan result.Issue) (bool, error) {
w := tabwriter.NewWriter(StdOut, 0, 0, 2, ' ', 0)
defer w.Flush()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Error return value of w.Flush is not checked

@golangci golangci force-pushed the feature/tab-output-format branch from 99d0577 to 6a4b94e Compare June 2, 2018 17:58
@golangci golangci force-pushed the feature/tab-output-format branch from 6a4b94e to f62d607 Compare June 2, 2018 18:01
@jirfag jirfag merged commit 963db7c into master Jun 2, 2018
@golangci golangci deleted the feature/tab-output-format branch June 3, 2018 06:28
@ldez ldez added this to the v1.4 milestone Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants