Skip to content

add comments, remove underscores to be "more go-like" #73

@parkr

Description

@parkr

Running golint across our .pb.go files yields quite a number of issues. It would be great to either have golint ignore .pb.go files by default, or to have this library generate code golint will happily find acceptable. Key issues:

  • Id -> ID
  • "exported thing X should have comment or be unexported"
  • "don't use underscores in Go names; struct field XXX_unrecognized should be XXXUnrecognized"

Thank you!

Prior art: #53

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions