Skip to content

Conversation

haya14busa
Copy link
Member

  • Updated Unreleased section in CHANGELOG or it's not notable changes.

return &CheckStyleParser{}
}

func (p *CheckStyleParser) Parse(r io.Reader) ([]*rdf.Diagnostic, error) {
Copy link
Member

Choose a reason for hiding this comment

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

[golint-circleci] reported by reviewdog 🐶
exported method CheckStyleParser.Parse should have comment or be unexported

return NewErrorformatParser(efm), nil
}

func (p *ErrorformatParser) Parse(r io.Reader) ([]*rdf.Diagnostic, error) {
Copy link
Member

Choose a reason for hiding this comment

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

[golint-circleci] reported by reviewdog 🐶
exported method ErrorformatParser.Parse should have comment or be unexported

parser/parser.go Outdated

// ParserOpt represents option to create Parser. Either FormatName or
// Errorformat should be specified.
type ParserOpt struct {
Copy link
Member

Choose a reason for hiding this comment

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

[golint-circleci] reported by reviewdog 🐶
type name will be used as parser.ParserOpt by other packages, and that stutters; consider calling this Opt

// RDJSONLParser is parser for rdjsonl format.
type RDJSONLParser struct{}

func NewRDJSONLParser() *RDJSONLParser {
Copy link
Member

Choose a reason for hiding this comment

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

[golint-circleci] reported by reviewdog 🐶
exported function NewRDJSONLParser should have comment or be unexported

return &RDJSONLParser{}
}

func (p *RDJSONLParser) Parse(r io.Reader) ([]*rdf.Diagnostic, error) {
Copy link
Member

Choose a reason for hiding this comment

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

[golint-circleci] reported by reviewdog 🐶
exported method RDJSONLParser.Parse should have comment or be unexported

return &CheckStyleParser{}
}

func (p *CheckStyleParser) Parse(r io.Reader) ([]*rdf.Diagnostic, error) {
Copy link
Contributor

Choose a reason for hiding this comment

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

[golint-pr-review] reported by reviewdog 🐶
exported method CheckStyleParser.Parse should have comment or be unexported

return NewErrorformatParser(efm), nil
}

func (p *ErrorformatParser) Parse(r io.Reader) ([]*rdf.Diagnostic, error) {
Copy link
Contributor

Choose a reason for hiding this comment

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

[golint-pr-review] reported by reviewdog 🐶
exported method ErrorformatParser.Parse should have comment or be unexported

parser/parser.go Outdated

// ParserOpt represents option to create Parser. Either FormatName or
// Errorformat should be specified.
type ParserOpt struct {
Copy link
Contributor

Choose a reason for hiding this comment

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

[golint-pr-review] reported by reviewdog 🐶
type name will be used as parser.ParserOpt by other packages, and that stutters; consider calling this Opt

// RDJSONLParser is parser for rdjsonl format.
type RDJSONLParser struct{}

func NewRDJSONLParser() *RDJSONLParser {
Copy link
Contributor

Choose a reason for hiding this comment

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

[golint-pr-review] reported by reviewdog 🐶
exported function NewRDJSONLParser should have comment or be unexported

return &RDJSONLParser{}
}

func (p *RDJSONLParser) Parse(r io.Reader) ([]*rdf.Diagnostic, error) {
Copy link
Contributor

Choose a reason for hiding this comment

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

[golint-pr-review] reported by reviewdog 🐶
exported method RDJSONLParser.Parse should have comment or be unexported

@haya14busa haya14busa merged commit 369164a into master Jul 25, 2020
@haya14busa haya14busa deleted the rdf-parser-impr branch July 25, 2020 10:56
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.

2 participants